GetPermissionApplyOrderDetail

Updated at:

Queries the details of a permission application order. Note: The 2020 version of OpenAPI will be retired. Migrate to the 2024 OpenAPI - GetApplicationContents/GetProcessInstance.

Operation description

Note: The 2020 version of OpenAPI will be retired. Migrate to the 2024 OpenAPI - GetApplicationContents/GetProcessInstance.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

dataworks:*

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

FlowId

string

Yes

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

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

Response elements

Element

Type

Description

Example

object

The response data structure.

ApplyOrderDetail

object

The details of the application order.

ApplyBaseId

string

The UID of the Alibaba Cloud user who submitted the application order.

26784260040899****

ApplyTimestamp

integer

The time when the application order was initiated. The value is a UNIX timestamp.

1615284086000

ApproveAccountList

array<object>

The list of Alibaba Cloud accounts that approve the application order.

object

The response data structure.

BaseId

string

The UID of the Alibaba Cloud user who approves the application order.

182293110403****

ApproveContent

object

The specific content of the application.

ApplyReason

string

The reason for the application, which is used as a reference for administrator approval.

I need to use this table

Deadline

integer

The expiration time of the requested permissions. The value is a UNIX timestamp. If Label Security is not enabled for the MaxCompute project, or the security level of the requested table column is 0 or less than or equal to the security level of the applicant account, only permanent permissions can be requested.

1617115071885

OrderType

integer

The type of the application order. Valid values:

  • 1: Object ACL permission application.

1

ProjectMeta

object

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

MaxComputeProjectName

string

The MaxCompute project to which the requested object belongs.

aMaxComputeProject

ObjectMetaList

array<object>

The details of the requested object.

array<object>

The response data structure.

Actions

array

The list of object-level permission operations.

string

The object-level permission operation.

describe

ColumnMetaList

array<object>

The column information of the requested object.

object

The response data structure.

ColumnActions

array

The list of column-level permission operations.

string

The column-level permission operation.

select

ColumnComment

string

The description of the requested column.

Field description

ColumnName

string

The name of the requested column.

aColumnName

SecurityLevel

string

The security level of the requested column. Valid values: 0 to 9.

9

ObjectName

string

The name of the requested table.

aTableName

WorkspaceId

integer

The ID of the DataWorks workspace to which the requested object belongs.

123456

FinishAapprovalTimestamp

integer

The time when the final approval was completed. The value is a UNIX timestamp.

1757496687000

FinishApprovalComment

string

The final approval comment.

agree

FlowId

string

The ID of the application order.

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

FlowStatus

integer

The status of the application order. Valid values:

  • 1: Pending approval.

  • 2: Approved and authorization succeeded.

  • 3: Approved and authorization failed.

  • 4: Rejected.

  • 5: Withdrawn.

2

GranteeObjectList

array<object>

The information about the grantee accounts.

object

The response data structure.

GranteeId

string

The UID of the Alibaba Cloud user that requests permissions.

26784260040899****

GranteeName

string

The name of the Alibaba Cloud account that requests permissions. The format is the same as the account format in MaxCompute.

  • For an Alibaba Cloud account, the format is ALIYUN$+account name.

  • For a RAM user, the format is RAM$+account name.

RAM$dataworks_3h1_1:StsRamUser(StsRamUser)

GranteeType

integer

The type of the principal that requests permissions. Valid values:

  • 1: User.

1

GranteeTypeSub

integer

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

  • 101: Production Alibaba Cloud account.

  • 103: Personal Alibaba Cloud account.

  • 105: Alibaba Cloud account applied on behalf of others.

103

RequestId

string

The request ID.

0bc1ec92159376****

Examples

Success response

JSON format

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

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.