客服工作量

GET /apiv2/voice/agent_performance_stats.json
Query参数
NameRequiredTypeComment
created_startnumber起始时间
created_endnumber截止时间
group_idnumber客服组ID
调用权限

admin

curl 示例
curl https://{subdomain}.kf5.com/apiv2/voice/agent_performance_stats.json?created_start=20170703&created_end=20170726 \
        -v -u {email_address}:{password}
NameTypeRead-onlyComment
agentidintegeryes语音账号ID
agent_namestringyes客服名称
alerting_timesintegeryes振铃次数
total_alerting_durationintegeryes总振铃时长
avg_alerting_durationintegeryes平均振铃时长
holding_timesstringyes暂停次数
total_holding_durationintegeryes总暂停时长
avg_holding_durationintegeryes平均暂停时长
transfered_timesintegeryes转入次数(由其他客服转入)
total_transfered_durationintegeryes转入工作时长
avg_transfered_durationintegeryes平均转入工作时长
transfer_timesintegeryes转出次数
total_transfer_durationintegeryes转出前工作总时长
avg_transfer_durationintegeryes转出前平均工作时长
返回示例
Status: 200 OK{
    "agent_performance_stats": [
        {
            "agentid": 1097,
            "agent_name": "梁康毅",
            "alerting_times": 2,
            "total_alerting_duration": 27,
            "avg_alerting_duration": 13,
            "holding_times": 0,
            "total_holding_duration": 0,
            "avg_holding_duration": 0,
            "transfered_times": 0,
            "total_transfered_duration": 0,
            "avg_transfered_duration": 0,
            "transfer_times": 0,
            "total_transfer_duration": 0,
            "avg_transfer_duration": 0
        }
    ]}