查询座席在线客服状态
请求方式:POST
请求路径
/openapi/im/agentStatus/query
请求参数
{
"agentNumber":["6001","6008"]
}
响应参数
{
"success": true,
"message": "200 ok!",
"code": "200",
"data": [
{
"agentNumber": "6001",
"statusCode": "open",
"statusName": "空闲"
},
{
"agentNumber": "6008",
"statusCode": "close",
"statusName": "忙绿"
}
]
}
statusCode | 备注 |
open | 空闲 |
close | 忙碌 |
offline | 离线 |
修改座席在线客服状态
请求路径
/openapi/im/agentStatus/update
请求参数
{
"agentNumber":"6000",
"statusCode":"open"
}
statusCode | 备注 |
open | 空闲 |
busy | 忙碌 |
rest | 小休 |
响应参数
{
"success": true,
"message": "200 ok!",
"code": "200",
"data": null
}