Reviews a ticket.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ApproveOrder

The operation that you want to perform. Set the value to ApproveOrder.

Tid Long Yes 3***

The ID of the tenant. You can call the GetUserActiveTenant operation to obtain the tenant ID.

WorkflowInstanceId Long Yes 1234

The ID of the approval process. You can call the GetOrderBaseInfo operation to obtain the ID of the approval process.

ApprovalType String Yes AGREE

The action that you want to perform on the ticket. Valid values:

  • AGREE: approve
  • CANCEL: cancel
  • REJECT: reject
RegionId String No cn-hangzhou

The ID of the region in which you want to call this operation.

Comment String No test

The description of the ticket.

Response parameters

Parameter Type Example Description
RequestId String 427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D

The ID of the request.

ErrorCode String UnknownError

The error code returned.

ErrorMessage String UnknownError

The error message returned.

Success Boolean true

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.


Sample request

&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "RequestId" : "427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D",
  "Success" : true

Error codes

For a list of error codes, visit the API Error Center.