ListPermissionApplyOrders
Queries the list of permission application tickets. Note: The 2020 version of OpenAPI will be retired. Migrate to the 2024 version of OpenAPI at your earliest convenience: ListMyApplications, ListPendingApprovals, and ListMyRelatedApprovals.
Operation description
Note: The 2020 version of OpenAPI will be retired. Migrate to the 2024 version of OpenAPI at your earliest convenience: ListMyApplications, ListPendingApprovals, and ListMyRelatedApprovals.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FlowStatus |
integer |
No |
The status of the application ticket. Valid values:
Valid values:
|
1 |
| WorkspaceId |
integer |
No |
The ID of the workspace to which the application ticket belongs. If you do not specify this parameter, application tickets from all workspaces are returned. You can log on to the DataWorks console and go to the Workspace Configuration page to query the workspace ID. |
12345 |
OrderType
deprecated
|
integer |
No |
[Deprecated] This field is deprecated and does not take effect. Valid values:
|
1 |
| MaxComputeProjectName |
string |
No |
The name of the MaxCompute project to which the application ticket belongs. If you do not specify this parameter, application tickets from all MaxCompute projects are returned. |
aMaxComputeProject |
| TableName |
string |
No |
The name of the table included in the application ticket. If you do not specify this parameter, application tickets for all tables are returned. |
aTableName |
| StartTime |
integer |
No |
The start time of the time range to query application tickets. The value is a UNIX timestamp. If you do not specify this parameter, all application tickets are queried. |
1616200471885 |
| EndTime |
integer |
No |
The end time of the time range to query application tickets. The value is a UNIX timestamp. If you do not specify this parameter, application tickets submitted before the current time are queried. |
1617200471885 |
EngineType
deprecated
|
string |
No |
[Deprecated] This field is deprecated and does not take effect. Valid values:
|
odps |
| PageNum |
integer |
No |
The page number for the paginated query. The value must be a positive integer greater than or equal to 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page. Default value: 10. Maximum value: 100. |
100 |
| QueryType |
integer |
Yes |
The query type of the application ticket. Valid values:
Valid values:
|
1 |
| ApplyType |
string |
No |
The type of the application ticket. Valid values:
Valid values:
|
MaxComputeTable |
| CatalogName |
string |
No |
The name of the data catalog to query. |
hive |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
0bc1ec92159376**** |
| ApplyOrders |
object |
The paginated query results for permission application tickets. |
|
| PageSize |
integer |
The number of entries returned on each page. |
10 |
| PageNumber |
integer |
The page number. |
1 |
| TotalCount |
integer |
The total number of permission application tickets returned. |
150 |
| ApplyOrder |
array<object> |
The list of permission application tickets. |
|
|
array<object> |
The application ticket. |
||
| ApplyBaseId |
string |
The UID of the Alibaba Cloud user who submitted the application ticket. |
267842600408993176 |
| ApplyTimestamp |
integer |
The submission time of the application ticket. The value is a UNIX timestamp. |
1615284086000 |
| FlowId |
string |
The ID of the application ticket. |
ad8da78d-8135-455e-9486-27cf213fc140 |
| FlowStatus |
integer |
The status of the application ticket. Valid values:
|
2 |
| ApproveContent |
object |
The content of the application ticket. |
|
| ApplyReason |
string |
The reason for the application. This is used by administrators for evaluation and approval. |
I need to use this table |
| OrderType |
integer |
The type of the application ticket. Currently, only the value 1 is supported, which indicates an object ACL permission application. |
1 |
| ProjectMeta |
object |
The metadata of the applied object. |
|
| WorkspaceName |
string |
The name of the DataWorks workspace to which the MaxCompute project for which permissions are applied belongs. |
aWorkspaceName |
| ObjectMetaList |
array<object> |
The object information for the application. |
|
|
object |
The returned result. |
||
| ObjectName |
string |
The name of the applied table. |
aTableName |
| Actions |
array |
The operation types. |
|
|
string |
The types of permissions applied. If multiple types of permissions are applied at a time, separate them with commas (,). Currently, only the Select, Describe, Drop, Alter, Update, and Download types are supported. |
Select,Describe |
|
| FinishApprovalTimestamp |
integer |
The time when the final approval ended. The value is a UNIX timestamp. |
1757496687000 |
| FinishApprovalComment |
string |
The final approval comment. |
agree |
Examples
Success response
JSON format
{
"RequestId": "0bc1ec92159376****",
"ApplyOrders": {
"PageSize": 10,
"PageNumber": 1,
"TotalCount": 150,
"ApplyOrder": [
{
"ApplyBaseId": "267842600408993176",
"ApplyTimestamp": 1615284086000,
"FlowId": "ad8da78d-8135-455e-9486-27cf213fc140",
"FlowStatus": 2,
"ApproveContent": {
"ApplyReason": "I need to use this table",
"OrderType": 1,
"ProjectMeta": {
"WorkspaceName": "aWorkspaceName",
"ObjectMetaList": [
{
"ObjectName": "aTableName",
"Actions": [
"Select,Describe"
]
}
]
}
},
"FinishApprovalTimestamp": 1757496687000,
"FinishApprovalComment": "agree"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.