未接通呼入明细列表
GET /apiv2/voice/unanswereds.json
Query参数
Name | Required | Type | Comment |
---|
created_start | 否 | number | 起始时间 |
created_end | 否 | number | 截止时间 |
page | 否 | number | 页码,默认为 1 |
per_page | 否 | number | 分页尺寸,默认为 100 |
reason | 否 | number | 未接通原因 |
sort | 否 | number | 0:降序,1:升序 |
调用权限
admin, agent
curl 示例
curl https://{subdomain}.kf5.com/apiv2/voice/unanswereds.json \
-v -u {email_address}:{password}
Name | Type | Read-only | Comment |
---|
id | integer | yes | 通话明细ID |
from | string | yes | 主叫号码 |
user_id | integer | yes | 用户UID |
source | string | yes | 按键来源 |
agent_id | integer | yes | 客服UID |
callduration | integer | yes | 呼叫时长 |
alerting_seconds | integer | yes | 响应时长 |
created | string | yes | 创建时间 |
reason | integer | yes | 用户取消 0,坐席全忙 20,坐席拒接 40,排队人数限制 50,排队超时 51,非工作时间 60 |
返回示例
Status: 200 OK{
"unanswered": [
{
"id": "8542746",
"from": "18810407491",
"user_id": "741536",
"source": "毕业生档案查询",
"agent_id": null,
"callduration": "86",
"alerting_seconds": "0",
"created": "2017-07-25 11:25:32",
"reason": "20"
}
],
"count": 49,
"next_page": "https://tianxiang.kf5.com/apiv2/voice/unanswereds.json?created_start=20170703&created_end=20170726&per_page=1&page=2",
"previous_page": null
}