文档

GetAgentStatistics - 获取热线监控下坐席纬度统计量

更新时间:

获取热线监控下坐席纬度统计量。

接口说明

QPS 限制

  • 单用户调用频率:100 次/秒。
  • API 频率:100 次/秒。
说明 如果多个用户的总调用超过 API 频率也会触发流控。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
InstanceIdstring

AICCS 实例 ID。 您可以在智能联络中心控制台左侧导航栏的实例管理中获取。

ccc_xp_pre-cn-***
StartDatelong

开始日期时间戳。单位:毫秒。

1615083365000
EndDatelong

结束日期时间戳。单位:毫秒。

1617761765000
PageSizeinteger

每页大小。取值大于 0,默认值:20

20
CurrentPageinteger

当前页。取值大于 0,默认值:1

1
AgentIdsarray

坐席 ID 列表。

long

坐席 ID。

123
DepIdsarray

部门 ID 列表。

long

部门 ID。

100
TimeLatitudeTypestring

时间纬度类型。取值:

  • minute:分钟。
  • hour:小时。
minute
ExistDepartmentGroupingboolean

是否根据部门分组查询。取值:

  • true:是。
  • false:否。
false
ExistAgentGroupingboolean

是否根据坐席分组查询。取值:

  • true:是。
  • false:否。
false

返回参数

名称类型描述示例值
object

Schema of Response

RequestIdstring

请求 ID。

EE338D98-9BD3-4413-B165
Messagestring

状态码描述。

successful
Codestring

状态码。返回 200 表示请求成功。

200
Successstring

调用接口是否成功。取值:

  • true:成功。
  • false:失败。
true
Dataobject

数据列表。

PageNuminteger

当前页数。

1
PageSizeinteger

每页大小。

2000
TotalNuminteger

总记录数。

4
Rowsstring

信息为 List类型的 JSON 字符串。

{"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}

返回参数 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",
  "Code": "200",
  "Success": "true",
  "Data": {
    "PageNum": 1,
    "PageSize": 2000,
    "TotalNum": 4,
    "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}"
  }
}

错误码

HTTP status code错误码错误信息描述
500SystemErrorA system error occurred. Please contact the administrator.系统错误,请联系管理员!

访问错误中心查看更多错误码。

  • 本页导读
文档反馈