QuestionListNote
更新时间:
复制 MD 格式
Call the QuestionListNote operation to retrieve the communication history of a ticket.
Request parameters
| Name | Type | Required | Example | Description |
| questionId | String | Yes | 7K***ZF | Ticket ID |
Response parameters
| Parameter name | Type | Example | Description |
|
data |
List |
- |
The communication history. For more information, see data. |
|
code |
String |
200 |
The error code. |
|
message |
String |
successful |
The error message. |
| Name | Type | Example | Description |
|
content |
String |
Hello, we have received your ticket and are looking into it. Please wait. |
The content of the communication. |
|
noteType |
String |
chat |
The type of communication. Valid values:
|
|
fromOfficial |
String |
official |
The user type. Valid values:
|
|
gmtCreated |
Long |
1566869725000 |
The time when the communication was created. |
|
attachIds |
List<String> |
- |
A list of attachment IDs. The attachment IDs are generated after you upload the attachments.
Note You must pass these IDs when you call the getAttachTempURL operation to retrieve the attachments. For more information, see getAttachTempURL. |
Request example
http(s)://workorder.aliyuncs.com/?Action=QuestionListNote
&QuestionId=7K***ZF
Response example
{
"Count": 5,
"ListResult": {
"NoteInfo": [
{
"attachIds": {
"attachId": []
},
"FromOfficial": false,
"Content": " Ticket test. Customer service staff can ignore this.",
"NoteType": "chat",
"GmtCreated": 1565924667000
},
{
"attachIds": {
"attachId": []
},
"FromOfficial": false,
"Content": "Test ticket. No action is required.",
"NoteType": "chat",
"GmtCreated": 1565926152000
},
{
"attachIds": {
"attachId": []
},
"FromOfficial": true,
"Content": "Hello, we have received your ticket and are looking into it. Please wait.",
"NoteType": "chat",
"GmtCreated": 1565927849000
},
{
"attachIds": {
"attachId": []
},
"FromOfficial": true,
"Content": "11",
"NoteType": "chat",
"GmtCreated": 1565927856000
},
{
"attachIds": {
"attachId": []
},
"FromOfficial": true,
"Content": "Hello. We have not heard from you in a while, so we have changed your ticket status to Pending Confirmation. You can confirm the ticket is resolved or reopen it. If you do not reply within 7 days, the ticket will automatically close. If you provided sensitive information, such as a password, in the ticket, please change it right away. Thank you!",
"NoteType": "chat",
"GmtCreated": 1566869725000
}
]
},
"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. |
该文章对您有帮助吗?