呼入服务量
GET /apiv2/voice/agent_inbound_stats.json
Query参数
Name | Required | Type | Comment |
---|
created_start | 是 | number | 起始时间 |
created_end | 是 | number | 截止时间 |
group_id | 否 | number | 客服组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}
Name | Type | Read-only | Comment |
---|
agent_id | integer | yes | 语音账号ID |
agent_name | string | yes | 客服名称 |
total | integer | yes | 呼出量 |
answer | string | yes | 接通量 |
answer_rate | integer | yes | 接通率 |
callduration | integer | yes | 通话时长 |
avg_callduration | integer | yes | 平均通话时长 |
user_id | string | yes | 客服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": "-"
}
]}