获取热线监控下坐席纬度状态量。支持实例、时间区间、坐席、部门分组查询。
接口说明
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| InstanceId |
string |
是 |
AICCS 实例 ID。 您可以在智能联络中心控制台左侧导航栏的实例管理中获取。 |
ccc_xp_pre-cn-*** |
| StartDate |
integer |
否 |
开始日期时间戳。单位:毫秒。 |
1615083365000 |
| EndDate |
integer |
否 |
结束日期时间戳。单位:毫秒。 |
1617761765000 |
| PageSize |
integer |
否 |
每页大小。取值大于 0,默认值:20。 |
20 |
| CurrentPage |
integer |
否 |
当前页。取值大于 0,默认值:1。 |
1 |
| AgentIds |
array |
否 |
坐席 ID 列表。 |
|
|
integer |
否 |
坐席 ID。 可调用 GetAgent 接口,查看返回参数的 AgentId,即坐席 ID。 |
["2256****","2257****"] |
|
| DepIds |
array |
否 |
部门 ID 列表。 |
|
|
integer |
否 |
部门 ID。 可调用 GetAllDepartment 接口,查看返回参数的 DepartmentId,即部门 ID。 |
["6083****","6084****"] |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
EE338D98-9BD3-4413-B165 |
| Message |
string |
状态码描述。 |
OK |
| Data |
object |
数据列表。 |
|
| TotalNum |
integer |
总记录数。 |
4 |
| PageNum |
integer |
当前页数。 |
1 |
| PageSize |
integer |
每页大小。 |
2000 |
| Rows |
string |
信息为 List |
{"tenant_id":"905","servicer_id":"73****","tenant_name":"测试","recordgmtmodified":"2021-04-01 11:36:50","pk_id":"7320372021****","statusstarttime":"2021-04-01 11:36:50","recordgmtcreate":"2021-04-01 10:06:24","department_id":"94****","department_name":"测试技能组","lstlogintime":"2021-04-01 10:06:24","date_id":"20210401","triggerreason":"3","servicer_status":"D","assignstatus":"1","servicerreal_name":"xx","servicerstatusname":"签出","fstlogintime":"2021-04-01 10:06:24","servicer_name":"xx"} |
| Code |
string |
状态码。返回 200 表示请求成功。 |
200 |
| Success |
string |
调用接口是否成功。取值:
|
true |
返回参数 Rows 参数说明:
servicer_id:坐席 ID
servicer_name:坐席名称
servicer_real_name:坐席真实姓名
department_id:部门 ID
department_name:部门名称
servicer_status:热线坐席状态
servicer_status_name:热线坐席名称
status_start_time:状态开始时间
assign_status:分配状态
rest_type:小休类型
示例
正常返回示例
JSON格式
{
"RequestId": "EE338D98-9BD3-4413-B165",
"Message": "OK",
"Data": {
"TotalNum": 4,
"PageNum": 1,
"PageSize": 2000,
"Rows": "{\"tenant_id\":\"905\",\"servicer_id\":\"73****\",\"tenant_name\":\"测试\",\"recordgmtmodified\":\"2021-04-01 11:36:50\",\"pk_id\":\"7320372021****\",\"statusstarttime\":\"2021-04-01 11:36:50\",\"recordgmtcreate\":\"2021-04-01 10:06:24\",\"department_id\":\"94****\",\"department_name\":\"测试技能组\",\"lstlogintime\":\"2021-04-01 10:06:24\",\"date_id\":\"20210401\",\"triggerreason\":\"3\",\"servicer_status\":\"D\",\"assignstatus\":\"1\",\"servicerreal_name\":\"xx\",\"servicerstatusname\":\"签出\",\"fstlogintime\":\"2021-04-01 10:06:24\",\"servicer_name\":\"xx\"}"
},
"Code": "200",
"Success": "true"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 500 | SystemError | A system error occurred. Please contact the administrator. | 系统错误,请联系管理员! |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。