Reviews a ticket.
Debugging
Authorization information
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 |