Replies to 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 ReplyTicket

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

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.

Content String No This is a reply to the ticket.

The reply content.

SecretContent String No The instance ID is XXXXXX.

The confidential details, including your ECS instance information and personal information. This parameter has a high data security level.

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=ReplyTicket
&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
400 param.illegal The specified parameter is invalid. Please check the parameter. The error message returned because there are invalid parameters. Modify the parameter settings as required.
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.