All Products
Search
Document Center

DataWorks:ListPermissionApplyOrders

Last Updated:Oct 29, 2025

Queries a list of permission requests.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
FlowStatusintegerNo

The status of the permission request. Valid values:

  • 1: Pending approval
  • 2: Approved and authorization succeeded
  • 3: Approved but authorization failed
  • 4: Rejected
  • 5: Withdrawn

Valid values:

  • 0
  • 1
  • 2
  • 3
  • 4
  • 5
1
WorkspaceIdintegerNo

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
OrderTypeintegerNo

This parameter is deprecated and does not take effect.

Valid values:

  • 1
  • 0
1
MaxComputeProjectNamestringNo

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
TableNamestringNo

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
StartTimelongNo

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
EndTimelongNo

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
EngineTypestringNo

This parameter is deprecated and does not take effect.

Valid values:

  • odps
odps
PageNumintegerNo

The page number for pagination. The value must be a positive integer greater than or equal to 1. Default value: 1.

1
PageSizeintegerNo

The number of entries per page. Default value: 10. Maximum value: 100.

100
QueryTypeintegerYes

The query type for permission requests. Valid values:

  • 0: Permission requests submitted by me
  • 1: Permission requests pending my approval
  • 2: All permission requests
1
ApplyTypestringNo

The type of permission request. Valid values:

  • MaxComputeTable: Permission request for MaxCompute tables
  • MaxComputeFunction: Permission request for MaxCompute functions
  • MaxComputeResource: Permission request for MaxCompute resources
  • DLFSchema: Permission request for DLF 1.0 schemas
  • DLFTable: Permission request for DLF 1.0 tables
  • DLFColumn: Permission request for DLF 1.0 columns
  • DsApiDeploy: Permission request for publishing data services
MaxComputeTable
CatalogNamestringNo

The name of the data catalog to query.

hive

Response parameters

ParameterTypeDescriptionExample
object

The response.

RequestIdstring

The request ID.

0bc1ec92159376****
ApplyOrdersobject

The paginated query results of permission requests.

PageSizeinteger

The number of entries per page.

10
PageNumberinteger

The page number.

1
TotalCountinteger

The total number of permission requests returned.

150
ApplyOrderarray<object>

The list of permission requests.

Ordersobject

The response.

ApplyBaseIdstring

The Alibaba Cloud account ID of the user who submitted the permission request.

267842600408993176
ApplyTimestamplong

The time when the permission request was submitted, in Unix timestamp format.

1615284086000
FlowIdstring

The permission request ID.

ad8da78d-8135-455e-9486-27cf213fc140
FlowStatusinteger

The status of the permission request. Valid values:

  • 1: Pending approval
  • 2: Approved and authorization succeeded
  • 3: Approved but authorization failed
  • 4: Rejected
2
ApproveContentobject

The content of the permission request.

ApplyReasonstring

The reason for the permission request, which is used by administrators for evaluation and approval.

I need to use this table
OrderTypeinteger

The type of permission request. Only the value 1 is supported, which indicates an ACL permission request for objects.

1
ProjectMetaobject

The content of the requested object.

WorkspaceNamestring

The name of the DataWorks workspace that contains the MaxCompute project for which permissions are requested.

aWorkspaceName
ObjectMetaListarray<object>

The information about the requested object.

ObjectMetaListobject

The response.

ObjectNamestring

The name of the requested table.

aTableName
Actionsarray

The operation type.

Actionsstring

The permission types requested. Separate multiple permission types with commas (,). Valid values: Select, Describe, Drop, Alter, Update, and Download.

Select,Describe
FinishApprovalTimestamplong

The final approval timestamp. Displayed as a Unix timestamp.

1757496687000
FinishApprovalCommentstring

The final approval comment.

agree

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 timeSummary of changesOperation
2025-03-27The request parameters of the API has changedView Change Details