All Products
Search
Document Center

DataWorks:GetPermissionApplyOrderDetail

Last Updated:Jan 16, 2026

Queries the details of a permission request.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

FlowId

string

Yes

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

48f36729-05f9-4a40-9286-933fd940****

Response elements

Element

Type

Description

Example

object

The returned data structure.

RequestId

string

The request ID.

0bc1ec92159376****

ApplyOrderDetail

object

The details of the request.

ApplyBaseId

string

The UID of the Alibaba Cloud account that submitted the request.

26784260040899****

ApplyTimestamp

integer

The time when the request was submitted. This is a UNIX timestamp.

1615284086000

FlowId

string

The ID of the request.

ad8da78d-8135-455e-9486-27cf213f****

FlowStatus

integer

The status of the request. Valid values:

  • 1: pending approval.

  • 2: approved and authorized.

  • 3: approved but authorization failed.

  • 4: rejected.

  • 5: revoked.

2

ApproveAccountList

array<object>

The list of Alibaba Cloud accounts that can approve the request.

object

The returned data structure.

BaseId

string

The UID of the Alibaba Cloud account that approved the request.

182293110403****

GranteeObjectList

array<object>

The information about the account for which the permission is requested.

object

The returned data structure.

GranteeType

integer

The type of the entity that requests the permission. Currently, only 1 (user) is supported.

1

GranteeTypeSub

integer

The subtype of the entity that requests the permission. Valid values:

  • 101: production account.

  • 103: personal account.

  • 105: account for which the request is submitted by another user.

103

GranteeName

string

The name of the account for which the permission is requested. The format is the same as the account format in MaxCompute.

  • For a root account, the format is `ALIYUN$` followed by the account name.

  • For a RAM user, the format is `RAM$` followed by the account name.

RAM$dataworks_3h1_1:StsRamUser(StsRamUser)

GranteeId

string

The UID of the Alibaba Cloud account for which the permission is requested.

26784260040899****

ApproveContent

object

The details of the request.

ApplyReason

string

The reason for the request. This is for the administrator to review.

I need to use this table

Deadline

integer

The expiration time of the permission. This is a UNIX timestamp. If LabelSecurity is disabled for the MaxCompute project, or if the security level of the requested table columns is 0 or lower than or equal to the security level of the requester, only permanent permissions can be requested.

1617115071885

OrderType

integer

The type of the request. Currently, only the value 1 is supported. This value indicates a request for object ACL permissions.

1

ProjectMeta

object

The information about the project and workspace to which the object belongs.

MaxComputeProjectName

string

The MaxCompute project where the object is located.

aMaxComputeProject

WorkspaceId

integer

The ID of the DataWorks workspace where the object is located.

123456

ObjectMetaList

array<object>

The details of the requested object.

array<object>

The returned data structure.

ObjectName

string

The name of the requested table.

aTableName

ColumnMetaList

array<object>

The information about the columns of the requested object.

object

The returned data structure.

ColumnName

string

The name of the requested column.

aColumnName

ColumnComment

string

The description of the requested column.

Field description

SecurityLevel

string

The security level of the requested column. The value ranges from 0 to 9.

9

ColumnActions

array

string

Actions

array

string

FinishAapprovalTimestamp

integer

The time when the final approval was complete. This is a UNIX timestamp.

1757496687000

FinishApprovalComment

string

The comment for the final approval.

agree

Examples

Success response

JSON format

{
  "RequestId": "0bc1ec92159376****",
  "ApplyOrderDetail": {
    "ApplyBaseId": "26784260040899****",
    "ApplyTimestamp": 1615284086000,
    "FlowId": "ad8da78d-8135-455e-9486-27cf213f****",
    "FlowStatus": 2,
    "ApproveAccountList": [
      {
        "BaseId": "182293110403****"
      }
    ],
    "GranteeObjectList": [
      {
        "GranteeType": 1,
        "GranteeTypeSub": 103,
        "GranteeName": "RAM$dataworks_3h1_1:StsRamUser(StsRamUser)",
        "GranteeId": "26784260040899****"
      }
    ],
    "ApproveContent": {
      "ApplyReason": "I need to use this table",
      "Deadline": 1617115071885,
      "OrderType": 1,
      "ProjectMeta": {
        "MaxComputeProjectName": "aMaxComputeProject",
        "WorkspaceId": 123456,
        "ObjectMetaList": [
          {
            "ObjectName": "aTableName",
            "ColumnMetaList": [
              {
                "ColumnName": "aColumnName",
                "ColumnComment": "Field description",
                "SecurityLevel": "9",
                "ColumnActions": [
                  ""
                ]
              }
            ],
            "Actions": [
              ""
            ]
          }
        ]
      }
    },
    "FinishAapprovalTimestamp": 1757496687000,
    "FinishApprovalComment": "agree"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.