GetTickets【获取工单列表】¶
获取工单信息列表
Request Parameters
Parameter name | Type | Description | Required |
---|---|---|---|
action | String | API 标识符 | Yes |
Response Elements
Name | Type | Description |
---|---|---|
message | String | 执行结果信息 |
code | Integer | HTTP Resonpe响应状态码 |
data | Array | JSON 格式的工单信息列表,每项参数可见下面 Data Item |
Data Item
Name | Type | Description |
---|---|---|
description | String | 工单问题的描述 |
id | String | 工单ID |
num | Integer | 工单所有回复数 |
opened | String | 工单开始进行时间 |
status | String | 工单状态 |
summary | String | 工单的标题 |
Example
Example Request:
Request Headers:
POST /api/ HTTP/1.1
Origin: https://console.plcloud.com
X-CSRFToken: 6An6xEuOJqW6dVDtlgzZr6FqgkSbJmqp
Content-Type: application/x-www-form-urlencoded
Form Data:
action: GetTickets
Example Response:
{
"message": "成功",
"code": 200,
"data": [
{
"status": "accepted",
"opened": "2015-02-05 09:37:02",
"summary": "test",
"num": 1,
"id": "tkr-u4hjjh8p",
"description": "hello"
}
]
}