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
| HttpCode | Error code | Error message | Description |
| 200 | SUCCESS | successful | The request was processed successfully. |
| -121 | ILLEGAL_AUTH | illegal auth | You do not have the required permissions. |
| -101 | ILLEGAL_PARAM | illegal parameter, param is xxx | The parameter xxx failed the validation. |
| -104 | ILLEGAL_PARAM_EMPTY | xxx must not be null or empty | The parameter cannot be empty. |
| -153 | SYSTEM_BUSY | the system is busy | A system exception occurred. |
该文章对您有帮助吗?