获取热线监控下坐席纬度统计量。支持实例、时间区间、坐席、部门分组查询。
接口说明
调试
您可以在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。 |
123 |
|
| DepIds |
array |
否 |
部门 ID 列表。 |
|
|
integer |
否 |
部门 ID。 可调用 GetAllDepartment 接口,查看返回参数的 DepartmentId,即部门 ID。 |
100 |
|
| TimeLatitudeType |
string |
否 |
时间纬度类型。取值:
|
minute |
| ExistDepartmentGrouping |
boolean |
否 |
是否根据部门分组查询。取值:
|
false |
| ExistAgentGrouping |
boolean |
否 |
是否根据坐席分组查询。取值:
|
false |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
EE338D98-9BD3-4413-B165 |
| Message |
string |
状态码描述。 |
successful |
| Data |
object |
数据列表。 |
|
| TotalNum |
integer |
总记录数。 |
4 |
| PageNum |
integer |
当前页数。 |
1 |
| PageSize |
integer |
每页大小。 |
2000 |
| Rows |
string |
信息为 List |
{"n_resttype_1":15,"t_outcall_speak":829747,"average_incoming_time":"8451.29","n_resttype_3":0,"minute_id":"-1","n_conference_speak":0,"n_resttype_2":0,"n_resttype_5":0,"n_resttype_4":0,"n_resttype_7":0,"n_resttype_6":0,"n_resttype_9":0,"n_resttype_8":0,"n_outcall_dial":25,"total_break_time":"58555","n_internal_speak":0,"n_send_step_transfer":7,"n_consulted_internal_speak":0} |
| Code |
string |
状态码。返回 200 表示请求成功。 |
200 |
| Success |
string |
调用接口是否成功。取值:
|
true |
返回参数 Rows 参数说明:
t_incall_ring:呼入振铃时长
t_incall_speak:呼入时长
t_outcall_dial:拨号时长-外部
t_outcall_speak:呼出时长
t_internal_dial:内部拨号时长
t_internal_speak:内部通话时长
t_internal_ring:内部振铃时长
t_consult_internal_speak:求助时长(内部)
t_consulted_internal_ring:求助振铃时长(内部)
t_consulted_internal_speak:被求助时长(内部)
t_consult_external_speak:求助时长(外部)
t_conference_speak:会议时长
t_hold:保持时长
t_held:被保持时长
t_login:登录时长
t_resttype_1:普通小休时长
t_resttype_2:就餐小休时长
t_resttype_3:会议小休时长
t_resttype_4:辅导小休时长
t_resttype_5:培训小休时长
t_resttype_98:系统强制小休时长
t_resttype_99:坐席签入小休时长
t_idle:空闲时长
t_acw:后处理时长(外呼)
t_outcall_acw_end:外呼后处理
t_incall_acw_end:呼入后处理
n_incall_ring:呼入振铃次数
n_incall_speak:呼入量
n_outcall_dial:拨号量--外部
n_outcall_speak:呼出量
n_internal_dial:内部拨号次数
n_internal_speak:内部通话次数
n_internal_ring:内部振铃次数
n_consult_internal_dial:求助发起次数(内部)
n_consult_internal_speak:求助次数(内部)
n_consulted_internal_ring:被求助振铃次数(内部)
n_consulted_internal_speak:被求助次数(内部)
n_consult_external_dial:发起求助次数(外部)
n_consult_external_speak:求助次数(外部)
n_send_conference:发起会议次数
n_conference_speak:会议次数
n_send_step_transfer:单步转接发起次数
n_send_finish_transfer:双步转接次数
n_send_monitor_error:监听失败次数
n_hold:保持次数
n_held:被保持次数
n_resttype_1:普通小休次数
n_resttype_2:就餐小休次数
n_resttype_3:会议小休次数
n_resttype_4:辅导小休次数
n_resttype_5:培训小休次数
n_resttype_98:系统强制小休次数
n_resttype_99:坐席签入小休次数
n_acw:后处理次数
n_outcall_acw_end:后处理次数-呼出
n_incall_acw_end:后处理次数-呼入
示例
正常返回示例
JSON格式
{
"RequestId": "EE338D98-9BD3-4413-B165",
"Message": "successful",
"Data": {
"TotalNum": 4,
"PageNum": 1,
"PageSize": 2000,
"Rows": "{\"n_resttype_1\":15,\"t_outcall_speak\":829747,\"average_incoming_time\":\"8451.29\",\"n_resttype_3\":0,\"minute_id\":\"-1\",\"n_conference_speak\":0,\"n_resttype_2\":0,\"n_resttype_5\":0,\"n_resttype_4\":0,\"n_resttype_7\":0,\"n_resttype_6\":0,\"n_resttype_9\":0,\"n_resttype_8\":0,\"n_outcall_dial\":25,\"total_break_time\":\"58555\",\"n_internal_speak\":0,\"n_send_step_transfer\":7,\"n_consulted_internal_speak\":0}"
},
"Code": "200",
"Success": "true"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 500 | SystemError | A system error occurred. Please contact the administrator. | 系统错误,请联系管理员! |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。