Processes a permission request order.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ApprovePermissionApplyOrder | The operation that you want to perform. Set the value to ApprovePermissionApplyOrder. |
FlowId | String | Yes | 48f36729-05f9-4a40-9286-933fd940f30a | The ID of the permission request order. You can call the ListPermissionApplyOrders operation to obtain the ID. |
ApproveComment | String | Yes | agree | The comment on the order. |
ApproveAction | Integer | Yes | 1 | The action for the permission request order. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
ApproveSuccess | Boolean | true | Indicates whether the permission request order is processed. |
RequestId | String | 0bc1ec92159376**** | The request ID. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ApprovePermissionApplyOrder
&ApproveAction=1
&ApproveComment=agree
&FlowId=48f36729-05f9-4a40-9286-933fd940f30a
&RegionId=cn-shanghai
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<RequestId>0bc1ec92159376****</RequestId>
<ApproveSuccess>true</ApproveSuccess>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "0bc1ec92159376****",
"ApproveSuccess" : true
}
Error codes
For a list of error codes, see Service error codes.