Queries a list of permission application orders. Note: The 2020 version of OpenAPI will be discontinued at a scheduled time. Please migrate to the 2024 version of OpenAPI as soon as possible — ListMyApplications/ListPendingApprovals/ListMyRelatedApprovals.
Operation description
Note: The 2020 version of OpenAPI will be discontinued at a scheduled time. Please migrate to the 2024 version of OpenAPI as soon as possible — ListMyApplications/ListPendingApprovals/ListMyRelatedApprovals.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FlowStatus |
integer |
No |
The status of the application order. Valid values:
|
1 |
| WorkspaceId |
integer |
No |
The ID of the workspace to which the application order belongs. If this parameter is not specified, application orders from all workspaces are returned. You can log on to the DataWorks console and go to the Workspace Settings page to obtain the workspace ID. |
12345 |
| OrderType |
integer |
No |
This parameter is deprecated and does not take effect. |
1 |
| MaxComputeProjectName |
string |
No |
The name of the MaxCompute project to which the application order belongs. If this parameter is not specified, application orders from all MaxCompute projects are returned. |
aMaxComputeProject |
| TableName |
string |
No |
The table name included in the application order. If this parameter is not specified, application orders for all tables are returned. |
aTableName |
| StartTime |
integer |
No |
The start time for querying application orders, specified as a UNIX timestamp. If this parameter is not specified, all application orders are queried. |
1616200471885 |
| EndTime |
integer |
No |
The end time for querying application orders, specified as a UNIX timestamp. If this parameter is not specified, application orders up to the current time are queried. |
1617200471885 |
| EngineType |
string |
No |
This parameter is deprecated and does not take effect. |
odps |
| PageNum |
integer |
No |
The page number for paginated queries. The value must be a positive integer greater than or equal to 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 10. Maximum value: 100. |
100 |
| QueryType |
integer |
Yes |
The query type of the application order. Valid values:
|
1 |
| ApplyType |
string |
No |
The type of the application order. 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 of permission application orders. |
|
| PageSize |
integer |
The number of entries per page. |
10 |
| PageNumber |
integer |
The page number. |
1 |
| TotalCount |
integer |
The total number of permission application orders returned. |
150 |
| ApplyOrder |
array<object> |
The list of permission application orders. |
|
|
array<object> |
The response. |
||
| ApplyBaseId |
string |
The UID of the Alibaba Cloud account that submitted the application order. |
267842600408993176 |
| ApplyTimestamp |
integer |
The time when the application order was submitted, displayed as a UNIX timestamp. |
1615284086000 |
| FlowId |
string |
The ID of the application order. |
ad8da78d-8135-455e-9486-27cf213fc140 |
| FlowStatus |
integer |
The status of the application order. Valid values:
|
2 |
| ApproveContent |
object |
The content of the application order. |
|
| 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 order. Currently, only the value 1 is supported, which indicates an object ACL permission application. |
1 |
| ProjectMeta |
object |
The content of the application object. |
|
| WorkspaceName |
string |
The name of the DataWorks workspace to which the MaxCompute project with the applied permission belongs. |
aWorkspaceName |
| ObjectMetaList |
array<object> |
The information about the applied objects. |
|
|
object |
The details of an applied object. |
||
| ObjectName |
string |
The name of the applied table. |
aTableName |
| Actions |
array |
The operation types. |
|
|
string |
The type of the applied permission. If multiple permission types are applied at a time, they are separated by commas (,). Currently, only Select, Describe, Drop, Alter, Update, and Download types are supported. |
Select,Describe |
|
| FinishApprovalTimestamp |
integer |
The time when the final approval was completed, displayed as 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.