All Products
Search
Document Center

DataWorks:GetPermissionApplyOrderDetail

Last Updated:Oct 10, 2025

Queries the details of a permission request order.

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

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
dataworks:*get
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
FlowIdstringYes

The ID of the permission request order. You can call the ListPermissionApplyOrders operation to obtain the ID.

48f36729-05f9-4a40-9286-933fd940f30a

Response parameters

ParameterTypeDescriptionExample
object

The returned result.

RequestIdstring

The request ID.

0bc1ec92159376****
ApplyOrderDetailobject

Details of the permission request order.

ApplyBaseIdstring

The ID of the Alibaba Cloud account that was used to submit the permission request order.

267842600408993176
ApplyTimestamplong

The time when the permission request order was submitted. The value is a UNIX timestamp.

1615284086000
FlowIdstring

The ID of the permission request order.

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

The status of the permission request order. Valid values:

  • 1: to be processed
  • 2: approved and authorized
  • 3: approved but authorization failed
  • 4: rejected
2
ApproveAccountListarray<object>

The list of Alibaba Cloud accounts that are used to process the permission request order.

ApproveAccountListobject
BaseIdstring

The ID of the Alibaba Cloud account that is used to process the permission request order.

182293110403****
GranteeObjectListarray<object>

The information about the account that is used to request permissions.

GranteeObjectListobject
GranteeTypeinteger

The type of the subject that requests permissions. The value is fixed as 1, which indicates users.

1
GranteeTypeSubinteger

The subtype of the subject that requests permissions. Valid values:

  • 101: production account
  • 103: individual account
  • 105: account that requests permissions for others
103
GranteeNamestring

The name of the account that is used to request permissions. The name is in the same format as that of the account used to access the MaxCompute project.

  • If the account is an Alibaba Cloud account, the value is in the ALIYUN$+Account name format.
  • If the account is a RAM user, the value is in the RAM$+Account name format.
RAM$dataworks_3h1_1:StsRamUser(StsRamUser)
GranteeIdstring

The ID of the account that is used to request permissions.

267842600408993176
ApproveContentobject

The content of the permission request.

ApplyReasonstring

The reason of the permission request. The administrator processes the request based on the reason.

I need to use this table
Deadlinelong

The expiration time of the permissions that you request. The value is a UNIX timestamp. If LabelSecurity is disabled for the MaxCompute project in which you want to request permissions on the fields of a table, or the security level of the fields is 0 or is lower than or equal to the security level of the Alibaba Cloud account for which you want to request permissions, you can request only permanent permissions.

1617115071885
OrderTypeinteger

The type of the permission request order. The parameter value is 1 and cannot be changed. This value indicates ACL-based authorization.

1
ProjectMetaobject

The information about the project and workspace that are associated with the object on which you request permissions.

MaxComputeProjectNamestring

The MaxCompute project to which the object on which you request permissions belongs.

aMaxComputeProject
WorkspaceIdinteger

The ID of the DataWorks workspace that is associated with the object on which you request permissions.

12345
ObjectMetaListarray<object>

The details about the object on which you request permissions.

ObjectMetaListobject

The returned data.

ObjectNamestring

The name of the table on which you request permissions.

aTableName
ColumnMetaListarray<object>

The information about the column fields in the object on which you request permissions.

ColumnMetaListobject

The returned data.

ColumnNamestring

The name of the column on which you request permissions.

aColumnName
ColumnCommentstring

The description of the column on which you request permissions.

Field description
SecurityLevelstring

The security level of the column on which you request permissions. Valid values: 0 to 9.

9

Examples

Sample success responses

JSONformat

{
  "RequestId": "0bc1ec92159376****",
  "ApplyOrderDetail": {
    "ApplyBaseId": 267842600408993180,
    "ApplyTimestamp": 1615284086000,
    "FlowId": "ad8da78d-8135-455e-9486-27cf213fc140",
    "FlowStatus": 2,
    "ApproveAccountList": [
      {
        "BaseId": "182293110403****"
      }
    ],
    "GranteeObjectList": [
      {
        "GranteeType": 1,
        "GranteeTypeSub": 103,
        "GranteeName": "RAM$dataworks_3h1_1:StsRamUser(StsRamUser)",
        "GranteeId": 267842600408993180
      }
    ],
    "ApproveContent": {
      "ApplyReason": "I need to use this table",
      "Deadline": 1617115071885,
      "OrderType": 1,
      "ProjectMeta": {
        "MaxComputeProjectName": "aMaxComputeProject",
        "WorkspaceId": 12345,
        "ObjectMetaList": [
          {
            "ObjectName": "aTableName",
            "ColumnMetaList": [
              {
                "ColumnName": "aColumnName",
                "ColumnComment": "Field description",
                "SecurityLevel": 9,
                "ColumnActions": [
                  ""
                ]
              }
            ],
            "Actions": [
              ""
            ]
          }
        ]
      }
    },
    "FinishAapprovalTimestamp": 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 response structure of the API has changedView Change Details