未接通呼入明细列表

GET /apiv2/voice/unanswereds.json
Query参数
NameRequiredTypeComment
created_startnumber起始时间
created_endnumber截止时间
pagenumber页码,默认为 1
per_pagenumber分页尺寸,默认为 100
reasonnumber未接通原因
sortnumber0:降序,1:升序
调用权限

admin, agent

curl 示例
curl https://{subdomain}.kf5.com/apiv2/voice/unanswereds.json \
        -v -u {email_address}:{password}
NameTypeRead-onlyComment
idintegeryes通话明细ID
fromstringyes主叫号码
user_idintegeryes用户UID
sourcestringyes按键来源
agent_idintegeryes客服UID
calldurationintegeryes呼叫时长
alerting_secondsintegeryes响应时长
createdstringyes创建时间
reasonintegeryes用户取消 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
}