渠道
通道是代理和用户之间的一种通信手段。每个代理可以有一个或多个通道可用。通道资源是亚博电脑端Agent availability JSON响应格式.
JSON格式
通道被表示为具有以下属性的JSON对象:
名字 | 类型 | 只读 | 强制性的 | 描述 |
---|---|---|---|---|
属性 | 对象 | 假 | 真正的 | 通道属性. |
id | 字符串 | 假 | 真正的 | 通道的JSON:API ID。 |
的关系 | 对象 | 假 | 假 | 一个对象的关系包含钥匙work_items ,其值提供参考包含工作项亚博电脑端资源。 |
类型 | 字符串 | 假 | 真正的 | JSON:API类型渠道 . |
例子
{
“属性”:{
“max_capacity”:1,
“名称”:“消息”,
“状态”:“在线”,
“updated_at”:“2022 - 06 - 21 t10:23:25.583732z”,
“work_item_count”:5
},
“id”:“agent_availabilities | 10011 |频道|消息”,
“关系”:{
“work_items”:{
“数据”:[
{
“id”:“agent_availabilities | 10011 |频道|消息| work_items | 201”,
“类型”:“work_items”
},
{
“id”:“agent_availabilities | 10011 |频道|消息| work_items | 202”,
“类型”:“work_items”
},
{
“id”:“agent_availabilities | 10011 |频道|消息| work_items | 203”,
“类型”:“work_items”
}
],
“链接”:{
“下一个”:“https://example.亚博zendesk.com/api/v2/agent_availabilities/10011/channels/messaging/relationships/work_items?page%5Bafter%5D=203”
},
“元”:{
“has_more”:真正的
}
}
},
“类型”:“通道”
}