Queries the details of a permission request order.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | GetPermissionApplyOrderDetail | The operation that you want to perform. Set the value to GetPermissionApplyOrderDetail. |
FlowId | String | Yes | 48f36729-05f9-4a40-9286-933fd940**** | The ID of the permission request order. You can call the ListPermissionApplyOrders operation to obtain the ID. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 0bc1ec92159376**** | The request ID. |
ApplyOrderDetail | Object | Details of the permission request order. |
|
ApplyBaseId | String | 26784260040899**** | The unique ID of the Alibaba Cloud account that is used to submit the permission request order. |
ApplyTimestamp | Long | 1615284086000 | The time when the permission request order was submitted. The value is a UNIX timestamp. |
FlowId | String | ad8da78d-8135-455e-9486-27cf213f**** | The ID of the permission request order. |
FlowStatus | Integer | 2 | The status of the permission request order. Valid values:
|
ApproveAccountList | Array of ApproveAccountList | The list of Alibaba Cloud accounts that are used to process the permission request order. |
|
BaseId | String | 182293110403**** | The unique ID of the Alibaba Cloud account that is used to process the permission request order. |
GranteeObjectList | Array of GranteeObjectList | The information about the account that is used to request permissions. |
|
GranteeType | Integer | 1 | The type of the subject that requests permissions. The value is fixed as 1, which indicates users. |
GranteeTypeSub | Integer | 103 | The subtype of the subject that requests permissions. Valid values:
|
GranteeName | String | RAM$dataworks_3h1_1:StsRamUser(StsRamUser) | 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.
|
GranteeId | String | 26784260040899**** | The unique ID of the account that is used to request permissions. |
ApproveContent | Object | The content of the permission request. |
|
ApplyReason | String | I need to use this table | The reason of the permission request. The administrator processes the request based on the reason. |
Deadline | Long | 1617115071885 | 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. |
OrderType | Integer | 1 | The type of the permission request order. The value is fixed as 1, which indicates ACL-based authorization. |
ProjectMeta | Object | The information about the project and workspace that are associated with the object on which you request permissions. |
|
MaxComputeProjectName | String | aMaxComputeProject | The MaxCompute project to which the object on which you request permissions belongs. |
WorkspaceId | Integer | 12345 | The ID of the DataWorks workspace that is associated with the object on which you request permissions. |
ObjectMetaList | Array of ObjectMetaList | Details about the object on which you request permissions. |
|
ObjectName | String | aTableName | The name of the table on which you request permissions. |
ColumnMetaList | Array of ColumnMetaList | The information about the column fields in the object on which you request permissions. |
|
ColumnName | String | aColumnName | The name of the column on which you request permissions. |
ColumnComment | String | Field description | The description of the column on which you request permissions. |
SecurityLevel | String | 9 | The security level of the column on which you request permissions. Valid values: 0 to 9. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=GetPermissionApplyOrderDetail
&FlowId=48f36729-05f9-4a40-9286-933fd940****
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<GetPermissionApplyOrderDetailResponse>
<RequestId>0bc1ec92159376****</RequestId>
<ApplyOrderDetail>
<ApplyBaseId>26784260040899****</ApplyBaseId>
<ApplyTimestamp>1615284086000</ApplyTimestamp>
<FlowId>ad8da78d-8135-455e-9486-27cf213f****</FlowId>
<FlowStatus>2</FlowStatus>
<ApproveAccountList>
<BaseId>182293110403****</BaseId>
</ApproveAccountList>
<GranteeObjectList>
<GranteeType>1</GranteeType>
<GranteeTypeSub>103</GranteeTypeSub>
<GranteeName>RAM$dataworks_3h1_1:StsRamUser(StsRamUser)</GranteeName>
<GranteeId>26784260040899****</GranteeId>
</GranteeObjectList>
<ApproveContent>
<ApplyReason>I need to use this table</ApplyReason>
<Deadline>1617115071885</Deadline>
<OrderType>1</OrderType>
<ProjectMeta>
<MaxComputeProjectName>aMaxComputeProject</MaxComputeProjectName>
<WorkspaceId>12345</WorkspaceId>
<ObjectMetaList>
<ObjectName>aTableName</ObjectName>
<ColumnMetaList>
<ColumnName>aColumnName</ColumnName>
<ColumnComment>Field description </ColumnComment>
<SecurityLevel>9</SecurityLevel>
</ColumnMetaList>
</ObjectMetaList>
</ProjectMeta>
</ApproveContent>
</ApplyOrderDetail>
</GetPermissionApplyOrderDetailResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"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" : 12345,
"ObjectMetaList" : [ {
"ObjectName" : "aTableName",
"ColumnMetaList" : [ {
"ColumnName" : "aColumnName",
"ColumnComment" : "Field description",
"SecurityLevel" : "9"
} ]
} ]
}
}
}
}
Error codes
For a list of error codes, see Service error codes.