You can call this operation to approve a specified 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.

ApprovalType String Yes agree

The approval action. Valid values:

  • agree
  • cancel
  • reject
Tid Long Yes -1

The ID of the tenant.

WorkflowInstanceId Long Yes 1234

The ID of the approval workflow. You can query the value of this parameter from the GetOrderBaseInfo operation. For a ticket to be approved, the value of this parameter is an integer greater than 0.

Response parameters

Parameter Type Example Description
ErrorCode String UnknownError

The error code.

ErrorMessage String UnknownError

The error message.

RequestId String 427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D

The ID of the request.

Success Boolean true

Indicates whether the request was successful.


Sample requests

http(s)://[Endpoint]/? Action=ApproveOrder
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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