呼入服务量

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

admin

curl 示例
curl https://{subdomain}.kf5.com/apiv2/voice/agent_inbound_stats.json?created_start=20170703&created_end=20170726 \
        -v -u {email_address}:{password}
NameTypeRead-onlyComment
agent_idintegeryes语音账号ID
agent_namestringyes客服名称
totalintegeryes呼出量
answerstringyes接通量
answer_rateintegeryes接通率
calldurationintegeryes通话时长
avg_calldurationintegeryes平均通话时长
user_idstringyes客服UID
返回示例
Status: 200 OK{
    "agent_inbound_stats": [
        {
            "agent_id": null,
            "agent_name": 1043,
            "total": 3,
            "answer": 2,
            "answer_rate": "67%",
            "user_cancel": 0,
            "cancel_rate": "-",
            "callduration": 28,
            "avg_callduration": 14,
            "ticket_num": 2,
            "score_num": 0,
            "score_rate": "-",
            "avg_score": "-"
        }
    ]}