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:

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
RequestId String 427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D

The ID of the request.

Success Boolean true

Indicates whether the request was successful.

ErrorMessage String UnknownError

Error message

ErrorCode String UnknownError

Error code


Sample request

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

Sample success responses

XML format


JSON format

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

Error codes

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