=====标签接口=====
\\
====JSON格式====
^名称 ^类型 ^只读 ^必填 ^注释^
|tagId |int |是 |否 |标签ID,系统自动生成 |
|url |varchar|是 |否 |该标签的资源url|
|tagName |varchar|否 |是 |标签名称|
|module |int |否 |是 |标签所属模块,取值为:2-远程模块,3-上门模块,4-即时聊天模块,5-呼叫中心模块,6-在线客服模块,7-工单模块|
====JSON示例====
{
"tagId": 1,
"url": "https://www.bangwo8.com/api/v1/tags/1.json",
"tagName": "售后",
"module": 6
}
====获取标签列表====
GET /api/v1/tags.json
**调用者权限**
所有客服
**调用示例**
curl https://www.bangwo8.com/api/v1/tags.json \
-v -u {account}:{password}
**返回值示例**
Status: 200 OK
{
"tags": [
{
"tagId": 1,
"tagName": "售后",
"module": 6
},
{
"tagId": 2,
"tagName": "售前",
"module": 4
}
]
}