Queries a list of permission requests.
Debugging
Authorization information
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| FlowStatus | integer | No | The status of the permission request. Valid values:
Valid values:
| 1 |
| WorkspaceId | integer | No | The ID of the workspace to which the permission request belongs. If you do not specify this parameter, permission requests from all workspaces are returned. To obtain the workspace ID, log on to the DataWorks console and navigate to the workspace configuration page. | 12345 |
| OrderType | integer | No | This parameter is deprecated and does not take effect. Valid values:
| 1 |
| MaxComputeProjectName | string | No | The name of the MaxCompute project with which the permission request order is associated. If you do not specify the parameter, the permission request orders of all MaxCompute projects are returned. | aMaxComputeProject |
| TableName | string | No | The name of the table with which the permission request order is associated. If you do not specify the parameter, the permission request orders of all tables are returned. | aTableName |
| StartTime | long | No | The beginning of the time range to query. You can query all the permissions request orders that have been submitted after the time. The parameter value is a UNIX timestamp. If you do not specify the parameter, all permission request orders are queried. | 1616200471885 |
| EndTime | long | No | The end of the time range to query. You can query all the permissions request orders that have been submitted before the time. The parameter value is a UNIX timestamp. If you do not specify the parameter, all permission request orders that are submitted before the current time are queried. | 1617200471885 |
| EngineType | string | No | This parameter is deprecated and does not take effect. Valid values:
| odps |
| PageNum | integer | No | The page number for pagination. 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 for permission requests. Valid values:
| 1 |
| ApplyType | string | No | The type of permission request. Valid values:
| MaxComputeTable |
| CatalogName | string | No | The name of the data catalog to query. | hive |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "0bc1ec92159376****",
"ApplyOrders": {
"PageSize": 10,
"PageNumber": 1,
"TotalCount": 150,
"ApplyOrder": [
{
"ApplyBaseId": 267842600408993180,
"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
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-03-27 | The request parameters of the API has changed | View Change Details |
