TicketReply【回复工单】¶
回复工单:可指定工单ID、信息来回复工单。如果不回复任何信息,则会返回错误信息。
Request Parameters
Parameter name | Type | Description | Required |
---|---|---|---|
action | String | API 标识符 | Yes |
obj_id | String | 工单ID | Yes |
msg | String | 回复的信息 | Yes |
Response Elements
Name | Type | Description |
---|---|---|
code | Integer | HTTP Resonpe响应状态码 |
msg | Dict | 刚回复工单的信息,每项参数可见下面 Msg Item |
Msg Item
Name | Type | Description |
---|---|---|
msg | String | 回复信息 |
update_time | String | 回复时间 |
name | String | 回复人名称 |
Example
Example Request:
Request Headers:
POST /api/ HTTP/1.1
Origin: https://console.plcloud.com
X-CSRFToken: 6An6xEuOJqW6dVDtlgzZr6FqgkSbJmqp
Content-Type: application/json
JSON Data:
{
"action": "TicketReply",
"obj_id": "tkr-ah5znu11",
"msg": "hello\n"
}
Example Response:
{
"msg": {
"msg": "hello",
"update_time": "2015-02-11 16:36:50",
"name": "joe@lei.com"
},
"code": 200
}