QuestionReply

更新时间:
复制 MD 格式

Call the QuestionReply operation to add a message to a ticket.

To upload an attachment, first call the getOSSTempAuthor operation to obtain authorization. For more information, see getOSSTempAuthor. Once authorized, use an OSS client to upload the attachment.

Request parameters

Name Type Required Example Description

questionId

String

Yes

2H***DX

The ticket ID.

questionContent

String

No

This is a message submitted by the user
The content of the message.
Note `questionContent` and `questionSecContent` cannot both be empty.

questionSecContent

String

No

This is confidential information submitted by the user

The confidential information.

Note `questionContent` and `questionSecContent` cannot both be empty.

attachments

String

No

-
The names of the attachments that are uploaded using an OSS client.
Note Separate the names of multiple attachments with commas (,). A maximum of three attachments are supported.

Response parameters

Parameter name Type Example Description

success

Boolean

true

Result of addition

code

String

200

The error code.

message String successful The error message.

Request parameters

http(s)://workorder.aliyuncs.com/?Action=QuestionReply
&QuestionId=2H***DX
&QuestionContent=This is a message submitted by the user
&QuestionSecContent=This is confidential information submitted by the user

Return parameters

{
  "Message": "successful",
  "Success": true,
  "Code": "200"
}

Error codes

HttpCodeError codeError messageDescription
200SUCCESSsuccessfulThe request was processed successfully.
-121ILLEGAL_AUTHillegal authYou do not have the required permissions.
-101ILLEGAL_PARAMillegal parameter, param is xxx The parameter xxx failed the validation.
-104ILLEGAL_PARAM_EMPTYxxx must not be null or emptyThe parameter cannot be empty.
-153SYSTEM_BUSYthe system is busyA system exception occurred.