QuestionList
You can call the QuestionList operation to retrieve a list of tickets.
Request parameters
| Name | Type | Required | Example | Description |
| ids | String | No | 7K***ZF,2H***DX | A list of ticket IDs. You can specify up to 200 IDs. Separate the IDs with commas (,). |
|
addStartTime |
Long |
No |
1565924439 |
The start time of the time range to query for tickets. The unit is milliseconds. |
|
addEndTime |
Long |
No |
1566852169 |
The end time of the time range to query for tickets. The unit is milliseconds. |
|
productIds |
String |
No |
1273 |
A list of product IDs.
Note You can specify up to 100 product IDs. Separate the IDs with commas (,). By default, tickets for all products are returned. |
|
pageSize |
Int |
No |
20 |
The number of tickets to display on each page. Valid values: 20 to 100. The default value is 20. |
|
questionStatus |
String |
No |
confirmed |
The status of the tickets to query. Separate multiple statuses with commas (,). By default, tickets in all statuses are returned. |
|
pageStart |
Int |
No |
100 |
The entry number to start the query from. |
Response parameters
| Name | Type | Example | Description |
|
data |
List |
- |
A list of ticket details. For more information, see data. |
|
code |
String |
200 |
The error code. |
|
message |
String |
successful |
The error message. |
|
Name |
Field type |
Example |
Description |
|
id |
String |
7K***ZF |
The ticket ID. |
|
productId |
Int |
1273 |
The product ID. |
|
title |
String |
Ticket test. The customer service representative is not responding. Please transfer the ticket to WB4. |
The title. |
|
uid |
Int |
177******474 |
The UID of the owner. |
|
questionStatus |
String |
confirmed |
The status of the ticket. Valid values:
|
|
addTime |
Long |
1565924666 |
The time when the ticket was created. The unit is milliseconds. |
Request Parameters
http(s)://workorder.aliyuncs.com/?Action=QuestionList
&AddStartTime=1565924439
&AddEndTime=1566852169
&Ids=7K**ZF,2H**DX
&ProductIds=1273
&QuestionStatus=confirmed
Return Parameters
{
"Count": 1,
"ListResult": {
"QuestionDetail": [
{
"QuestionStatus": "confirmed",
"Id": "7K**ZF",
"Uid": "177*******474",
"ProductId": 1273,
"Title": "alitest ticket test. The customer service representative is not responding. Please transfer the ticket to WB4.",
"AddTime": 1565924666
}
]
},
"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. |