QuestionList

更新时间:
复制 MD 格式

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.

Table 1. data

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:
  • assigned: The ticket is assigned.
  • dealing: The ticket is being processed.
  • wait_feedback: The ticket is waiting for customer feedback.
  • feedback: The customer has provided feedback.
  • wait_confirm: The ticket is resolved and waiting for customer confirmation.
  • confirmed: The customer has confirmed that the ticket is resolved.
  • score: The customer has rated the service for the ticket.

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

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.