JSON格式
Name | Type | Read-only | Comment |
---|
id | integer | yes | 回复id,由系统自动分配 |
content | string | yes | 工单回复文本内容 |
html_content | string | yes | 工单回复html内容 |
voice_url | string | yes | 语音回复的url链接 |
public | boolean | yes | 私密性,false则只有客服可见 |
author_id | integer | yes | 回复的用户id |
author_name | string | yes | 回复的用户名称 |
author_photo | string | yes | 回复的用户头像图片的url地址 |
created_at | date | yes | 回复的时间 |
attachments | array | yes | 回复所带的附件,请参照 Attachments API |
JSON 示例
{
"id": 2060,
"content": "the content",
"html_content": "the content",
"public": true,
"created_at": "2014-03-05 18:40:33",
"author_id": 733,
"attachments": [
{
"id": 1743,
"url": "https://support.kf5.com/apiv2/attachments/1743.json",
"name": "测试.jpg",
"size": 577,
"content_url": "https://support.kf5.com/attachments/download/1743/d82e779e28719c5623af75c6fd2966b/",
"token": "d82e779e28719c5623af75c6fd2966b"
}
]}