You can call this operation to close a specified ticket.

Debugging

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 CloseOrder

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

CloseReason String Yes close reason

The reason for closing the ticket.

OrderId Long Yes 1343

The ID of the ticket.

Tid Long Yes -1

The ID of the tenant.

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.

Examples

Sample requests


http(s)://[Endpoint]/? Action=CloseOrder
&CloseReason=close reason
&OrderId=1343
&Tid=-1
&<Common request parameters>

Sample success responses

XML format

<RequestId>427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D</RequestId>
<Success>true</Success>

JSON format

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

Error codes

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