Queries the details of a permission request order. Note: The 2020 version of OpenAPI will be discontinued. Please migrate to the 2024 version of OpenAPI as soon as possible — GetApplicationContents/GetProcessInstance.
Operation description
Note: The 2020 version of OpenAPI will be discontinued. Please migrate to the 2024 version of OpenAPI as soon as possible — GetApplicationContents/GetProcessInstance.
Try it now
Test
RAM authorization
|
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 request 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 structure. |
||
| RequestId |
string |
The request ID. |
0bc1ec92159376**** |
| ApplyOrderDetail |
object |
The details of the request order. |
|
| ApplyBaseId |
string |
The UID of the Alibaba Cloud account that submitted the request order. |
26784260040899**** |
| ApplyTimestamp |
integer |
The time when the request order was submitted, displayed as a UNIX timestamp. |
1615284086000 |
| FlowId |
string |
The ID of the request order. |
ad8da78d-8135-455e-9486-27cf213f**** |
| FlowStatus |
integer |
The status of the request order. Valid values:
|
2 |
| ApproveAccountList |
array<object> |
The list of Alibaba Cloud accounts that approved the request order. |
|
|
object |
The response structure. |
||
| BaseId |
string |
The UID of the Alibaba Cloud account that approved the application order. |
182293110403**** |
| GranteeObjectList |
array<object> |
The information about the accounts that requested permissions. |
|
|
object |
The response structure. |
||
| GranteeType |
integer |
The type of the principal that applied for permissions. Currently, only the value 1 (user) is supported. |
1 |
| GranteeTypeSub |
integer |
The subtype of the principal that applied for permissions. Valid values:
|
103 |
| GranteeName |
string |
The name of the Alibaba Cloud account that applied for permissions. The format is the same as the MaxCompute account format.
|
RAM$dataworks_3h1_1:StsRamUser(StsRamUser) |
| GranteeId |
string |
The UID of the Alibaba Cloud account that applied for permissions. |
26784260040899**** |
| ApproveContent |
object |
The specific content of the request. |
|
| ApplyReason |
string |
The reason for the application, which is used as a reference for the administrator during approval. |
I need to use this table |
| Deadline |
integer |
The expiration time of the applied permissions. The value is a UNIX timestamp. If LabelSecurity is not enabled for the MaxCompute project, or the security level of the applied table field is 0 or less than or equal to the security level of the applicant account, only permanent permissions can be applied for. |
1617115071885 |
| OrderType |
integer |
The type of the application order. Currently, only the value 1 is supported, which indicates an object ACL permission application. |
1 |
| ProjectMeta |
object |
The project and workspace information to which the applied object belongs. |
|
| MaxComputeProjectName |
string |
The MaxCompute project to which the applied object belongs. |
aMaxComputeProject |
| WorkspaceId |
integer |
The ID of the DataWorks workspace to which the applied object belongs. |
123456 |
| ObjectMetaList |
array<object> |
The details of the applied object. |
|
|
array<object> |
The response struct. |
||
| ObjectName |
string |
The name of the applied table. |
aTableName |
| ColumnMetaList |
array<object> |
The column field information of the applied object. |
|
|
object |
The response struct. |
||
| ColumnName |
string |
The name of the applied column. |
aColumnName |
| ColumnComment |
string |
The description of the applied column. |
Field description |
| SecurityLevel |
string |
The security level of the applied column. Valid values: 0 to 9. |
9 |
| ColumnActions |
array |
||
|
string |
|||
| Actions |
array |
||
|
string |
|||
| FinishAapprovalTimestamp |
integer |
The time when the final approval was completed, displayed as a UNIX timestamp. |
1757496687000 |
| FinishApprovalComment |
string |
The final approval comment. |
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.