调用GetPermissionApplyOrderDetail查询一个权限申请单的详细信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | GetPermissionApplyOrderDetail |
系统规定参数。取值:GetPermissionApplyOrderDetail。 |
FlowId | String | 是 | 48f36729-05f9-4a40-9286-933fd940f30a |
权限申请单ID。您可以调用ListPermissionApplyOrders接口获取。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 0bc1ec92159376**** |
请求ID。 |
ApplyOrderDetail | Object |
申请单详情。 |
|
ApplyBaseId | String | 267842600408993176 |
提交申请单的阿里云用户UID。 |
ApplyTimestamp | Long | 1615284086000 |
发起申请单的时间,显示为一个unix时间戳。 |
FlowId | String | ad8da78d-8135-455e-9486-27cf213fc140 |
申请单ID。 |
FlowStatus | Integer | 2 |
申请单的状态。取值如下:
|
ApproveAccountList | Array of ApproveAccountList |
审批申请单的阿里云账号列表。 |
|
BaseId | String | 182293110403**** |
审批申请单的阿里云用户UID。 |
GranteeObjectList | Array of GranteeObjectList |
申请权限的账号信息。 |
|
GranteeType | Integer | 1 |
申请权限的主体类型。目前只支持1(用户)。 |
GranteeTypeSub | Integer | 103 |
申请权限的主体子类型,取值如下:
|
GranteeName | String | RAM$dataworks_3h1_1:StsRamUser(StsRamUser) |
申请权限的云账号名称。格式与MaxCompute的账号格式一致。
|
GranteeId | String | 267842600408993176 |
申请权限的阿里云用户UID。 |
ApproveContent | Object |
申请的具体内容。 |
|
ApplyReason | String | I need to use this table |
申请的原因,用于管理员审批参考。 |
Deadline | Long | 1617115071885 |
申请权限的到期时间。此处显示为一个unix时间戳。 如果MaxCompute项目未开启LabelSecurity,或申请的表字段安全等级为0或小于等于申请账号的安全等级时,只能申请永久权限。 |
OrderType | Integer | 1 |
申请单类型。目前仅支持取值为1,表示对象ACL权限申请。 |
ProjectMeta | Object |
申请对象所属的项目和工作空间信息。 |
|
MaxComputeProjectName | String | aMaxComputeProject |
申请对象所在的MaxCompute项目。 |
WorkspaceId | Integer | 12345 |
申请对象所在的DataWorks工作空间ID。 |
ObjectMetaList | Array of ObjectMetaList |
申请对象的详细信息。 |
|
ObjectName | String | aTableName |
申请的表名。 |
ColumnMetaList | Array of ColumnMetaList |
申请对象的列字段信息。 |
|
ColumnName | String | aColumnName |
申请的列名称。 |
ColumnComment | String | 字段描述 |
申请的列描述。 |
示例
请求示例
http(s)://[Endpoint]/?Action=GetPermissionApplyOrderDetail
&FlowId=48f36729-05f9-4a40-9286-933fd940f30a
&公共请求参数
正常返回示例
XML
格式
HTTP/1.1 200 OK
Content-Type:application/xml
<GetPermissionApplyOrderDetailResponse>
<RequestId>0bc1ec92159376****</RequestId>
<ApplyOrderDetail>
<ApplyBaseId>267842600408993176</ApplyBaseId>
<ApplyTimestamp>1615284086000</ApplyTimestamp>
<FlowId>ad8da78d-8135-455e-9486-27cf213fc140</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>267842600408993176</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>字段描述</ColumnComment>
</ColumnMetaList>
</ObjectMetaList>
</ProjectMeta>
</ApproveContent>
</ApplyOrderDetail>
</GetPermissionApplyOrderDetailResponse>
JSON
格式
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "0bc1ec92159376****",
"ApplyOrderDetail" : {
"ApplyBaseId" : "267842600408993176",
"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" : "267842600408993176"
},
"ApproveContent" : {
"ApplyReason" : "I need to use this table",
"Deadline" : 1617115071885,
"OrderType" : 1,
"ProjectMeta" : {
"MaxComputeProjectName" : "aMaxComputeProject",
"WorkspaceId" : 12345,
"ObjectMetaList" : {
"ObjectName" : "aTableName",
"ColumnMetaList" : {
"ColumnName" : "aColumnName",
"ColumnComment" : "字段描述"
}
}
}
}
}
}
错误码
访问错误中心查看更多错误码。