查询座席维度系统状态信息
场景描述
查询座席维度系统状态信息。
接口方法
设置成“POST”。该接口仅支持POST方法,不支持PUT、GET和DELTE等方法。
内部封装接口
BMS接口:/ccbms/ws/monitor/teamagentstatusinfo
请求URL
https://ip:port/rest/cmsapp/v1/openapi/querymonitor/systemstate
其中,ip为NSLB的服务器IP地址,port为CC-CMS服务在NSLB映射的HTTPS端口号。
请求说明
|
序号 |
名称 |
参数类型 |
是否必选 |
说明 |
|---|---|---|---|---|
|
1 |
Content-Type |
String |
True |
固定填 application/json; charset=UTF-8。 |
|
2 |
Authorization |
String |
True |
生成方式参见C2 监控/系统外呼/话单/知识库类接口鉴权方式。 |
- 消息头
Content-Type:application/json; charset=UTF-8
- 消息体
该接口的请求消息体举例如下:
{ "queryParam": { "ccId":1, "vdn":1 } }
该接口的请求消息体参数说明请参见表2。
|
参数名 |
数据类型 |
是否必选 |
说明 |
|---|---|---|---|
|
ccId |
int |
True |
呼叫中心编号。 取值范围:1~65535 |
|
vdn |
int |
True |
虚拟呼叫中心编号。 取值范围:1~5000 |
响应消息
该接口的响应消息体举例如下:
{
"result": "0",
"resultDesc": {
"busyagent": 0,
"talkingnum": 0,
"Idleagent": 0,
"totalloginagent": 0
}
}
该接口的响应消息体参数说明请参见表3。
|
参数名 |
数据类型 |
说明 |
|---|---|---|
|
result |
string |
查询结果。取值如下:
失败的原因说明请参见错误码参考。 |
|
resultDatas |
Object |
查询成功后,返回结果信息的对象。 该对象的参数说明请参见表4。 |
|
参数名 |
数据类型 |
说明 |
|---|---|---|
|
busyagent |
int |
忙碌态座席数。 |
|
talkingnum |
int |
通话态座席数。 |
|
Idleagent |
int |
空闲态座席数。 |
|
totalloginagent |
int |
签入座席数。 |