Reviews a ticket.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
dms:ApproveOrder | update | *All Resources * |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Tid | long | No | The ID of the tenant. You can call the GetUserActiveTenant operation to obtain the tenant ID. | -1 |
WorkflowInstanceId | long | Yes | The ID of the approval process. You can call the GetOrderBaseInfo operation to obtain the ID of the approval process. | 1234 |
ApprovalType | string | Yes | The action that you want to perform on the ticket. Valid values:
| agree |
Comment | string | No | The description of the ticket. | test |
NewApprover | long | No | The ID of the user to which the ticket is transferred. If ApprovalType is set to TRANSFER, you need to specify this parameter. | 12*** |
OldApprover | long | No | The ID of the user that transfers the ticket to another user. The default value is the ID of the current user. If the current user is an administrator or a database administrator (DBA), the user can change the value of this parameter to the ID of another user. | 23*** |
ApprovalNodeId | long | No | If ApprovalType is set to ADD_APPROVAL_NODE, you need to specify this parameter. The ID of the user that is added as the new approval node. This node must be a user-defined approval node. You can call the ListUserDefineWorkFlowNodes operation to obtain the value of this parameter. | 1 |
ApprovalNodePos | string | No | The position of the new approval node. You must specify this parameter if ApprovalType is set to ADD_APPROVAL_NODE. Valid values:
| POST_ADD_APPROVAL_NODE |
NewApproverList | string | No | Note
You can specify this parameter if ApprovalType is set to TRANSFER. You need to only specify one of NewApproverList and NewApprover.
The IDs of the users to whom the ticket is transferred. Separate multiple IDs with commas (,). | 154***,155***,156*** |
RealLoginUserUid | string | No | The UID of the Alibaba Cloud account that actually calls the API. | 21400447956867**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-07-11 | The request parameters of the API has changed | View Change Details |
2024-04-18 | The request parameters of the API has changed | View Change Details |
2023-07-06 | The request parameters of the API has changed | View Change Details |