Closes a 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 CloseTicket

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

TicketId String Yes 3EBYRY7

The ticket ID.

Language String No zh

The language that you use, supporting English, Chinese, and Japanese.

Valid values: en, zh, and jp, which indicate English, Chinese, and Japanese, respectively.

Response parameters

Parameter Type Example Description
Code Integer 200

The status code.

Message String success

The prompt message.

RequestId String CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC

The ID of the request.

Success Boolean true

Indicates whether the request is successful. The value true indicates a success. The value false indicates a failure.

Examples

Sample requests

http(s)://[Endpoint]/? Action=CloseTicket
&TicketId=3EBYRY7
&<Common request parameters>

Sample success responses

XML format

<Message>success</Message>
<Code>200</Code>
<Success>true</Success>
<RequestId>CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC</RequestId>

JSON format

{
  "Message": "success",
  "Code": 200,
  "Success": true,
  "RequestId":"CA6204AC-6AA9-4CFA-9310-7DFD20C19EBC"
}

Error codes

HTTP status code Error code Error message Description
500 System.error An error occurred while processing your request. The error message returned because an internal error has occurred. Try again later.

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