调用ListIntervalSkillGroupReport获取指定实例下指定技能组的分段统计报表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
SkillGroupId | string | 是 | 技能组 ID。 | skg-default@ccc-test |
InstanceId | string | 是 | 实例 ID。 | ccc-test |
StartTime | long | 否 | 开始时间,格式为 Unix 时间戳,单位毫秒,非必填,默认为当天的 0 时,统计的时间精度为小时,向前取整,闭区间。 | 1604639129000 |
EndTime | long | 否 | 截止时间,格式为 Unix 时间戳,单位毫秒,非必填,默认是当前时间,如果 Interval 为 Daily,StartTime 和 EndTime 最大间隔是 180 天。如果 Interval 为 Hourly,最大间隔时间为 10 天。统计的时间精度为小时,向后取整,开区间。例如:开始时间为 11:12:20,结束时间为 11:45:50,则对齐后的入参时间范围为[11:00:00,12:00:00) ,即大于等于 11 点,小于 12 点。 | 1604725528000 |
Interval | string | 否 | 分段统计类型,默认为 Daily(按天汇总)。 枚举值:
| Hourly |
MediaType | string | 否 | 媒体类型,默认是语音(Audio), 其他可选参数包括 Chat 和 Video. | VIDEO |
返回参数
示例
正常返回示例
JSON
格式
{
"Code": "OK",
"HttpStatusCode": 200,
"Message": "无",
"RequestId": "943D8EF3-3321-471F-A104-51C96FCA94D6",
"Data": [
{
"StatsTime": 1604639129000,
"Inbound": {
"AverageRingTime": 11,
"CallsOverflow": 0,
"CallsAbandonedInRing": 0,
"CallsHandled": 2,
"TotalWorkTime": 23,
"TotalAbandonedInRingTime": 0,
"MaxWorkTime": 19,
"CallsAttendedTransferOut": 0,
"AverageWaitTime": 11,
"TotalHoldTime": 0,
"MaxAbandonTime": 0,
"AverageWorkTime": 8,
"CallsQueued": 3,
"CallsBlindTransferIn": 0,
"SatisfactionIndex": 0,
"AverageAbandonedInRingTime": 0,
"AverageAbandonTime": 0,
"CallsRinged": 3,
"CallsBlindTransferOut": 0,
"CallsAttendedTransferIn": 0,
"CallsAbandoned": 0,
"MaxAbandonedInQueueTime": 0,
"TotalWaitTime": 33,
"TotalRingTime": 33,
"MaxTalkTime": 6,
"MaxRingTime": 18,
"AbandonRate": 0,
"TotalTalkTime": 9,
"TotalAbandonTime": 0,
"CallsOffered": 3,
"MaxAbandonedInRingTime": 0,
"MaxWaitTime": 18,
"AverageAbandonedInQueueTime": 0,
"ServiceLevel20": 0,
"MaxHoldTime": 0,
"SatisfactionRate": 0,
"AverageTalkTime": 5,
"CallsHold": 0,
"SatisfactionSurveysOffered": 0,
"HandleRate": 0.6666666666666666,
"CallsTimeout": 0,
"SatisfactionSurveysResponded": 0,
"AverageHoldTime": 0,
"TotalAbandonedInQueueTime": 0,
"CallsAbandonedInQueue": 0,
"CallsQueuingOverflow": 0,
"CallsQueuingTimeout": 0,
"TotalMessagesSent": 12,
"TotalMessagesSentByAgent": 7,
"TotalMessagesSentByCustomer": 5,
"AverageFirstResponseTime": 6,
"AverageResponseTime": 18
},
"Outbound": {
"AverageRingTime": 0,
"CallsDialed": 2,
"CallsAnswered": 1,
"TotalWorkTime": 5,
"CallsAttendedTransferOut": 0,
"MaxWorkTime": 4,
"TotalDialingTime": 60,
"TotalHoldTime": 0,
"AverageWorkTime": 3,
"CallsBlindTransferIn": 0,
"SatisfactionIndex": 0,
"CallsRinged": 0,
"CallsAttendedTransferIn": 0,
"CallsBlindTransferOut": 0,
"TotalRingTime": 0,
"MaxTalkTime": 5,
"MaxRingTime": 0,
"TotalTalkTime": 5,
"MaxDialingTime": 49,
"AnswerRate": 0,
"MaxHoldTime": 0,
"AverageTalkTime": 5,
"SatisfactionRate": 0,
"CallsHold": 0,
"SatisfactionSurveysOffered": 0,
"SatisfactionSurveysResponded": 0,
"AverageHoldTime": 0,
"AverageDialingTime": 30
},
"Overall": {
"TotalTalkTime": 13,
"TotalLoggedInTime": 9236,
"OccupancyRate": 0.00422315148470254,
"TotalWorkTime": 27,
"MaxHoldTime": 0,
"MaxWorkTime": 19,
"AverageBreakTime": 0,
"TotalHoldTime": 0,
"SatisfactionRate": 0,
"MaxBreakTime": 1,
"AverageWorkTime": 6,
"AverageTalkTime": 0,
"SatisfactionIndex": 0,
"SatisfactionSurveysOffered": 0,
"SatisfactionSurveysResponded": 0,
"MaxReadyTime": 4927,
"AverageReadyTime": 0,
"AverageHoldTime": 0,
"TotalReadyTime": 9106,
"TotalBreakTime": 5,
"MaxTalkTime": 6,
"TotalCalls": 5,
"BreakCodeDetailList": [
{
"BreakCode": "会议",
"Count": 1,
"Duration": 120
}
]
},
"Back2Back": {
"MaxRingTime": 100,
"AverageCustomerRingTime": 100,
"CallsCustomerAnswered": 12,
"CustomerAnswerRate": 0.6,
"TotalRingTime": 100,
"CallsDialed": 100,
"CallsAnswered": 100,
"TotalTalkTime": 100,
"AverageRingTime": 100,
"MaxCustomerRingTime": 100,
"TotalCustomerRingTime": 100,
"AgentHandleRate": 1,
"MaxTalkTime": "100",
"AnswerRate": "0.5",
"AverageTalkTime": "100",
"CallsAgentHandled": 5
}
}
]
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | Parameter.Blank | The parameter %s may not be null or blank. | 该参数不能为null或含有空白符的字符串。 |
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 |
---|---|---|
2023-11-22 | OpenAPI 错误码发生变更、OpenAPI 入参发生变更、OpenAPI 返回结构发生变更 | 查看变更详情 |