客服状态列表

GET /apiv2/voice/availabilities.json
调用权限

admin

curl 示例
curl https://{subdomain}.kf5.com/apiv2/voice/availabilities.json \
        -v -u {email_address}:{password}
NameTypeRead-onlyComment
agent_idintegeryes客服UID
user_idintegeryes用户UID
typestringyesphone:手机/落地号码上班,client:客户端上班
status_updatedintegeryes最近一次状态更新时间
statusintegeryes离线 0,在线 1,忙碌 2,小休 3
call_statusintegeryes未通话 0,通话中 1
numberstringyes上班号码
agent_namestringyes客服名称
返回示例
Status: 200 OK{
    "availabilities": [
        {
            "user_id": "13032510",
            "agent_id": "1000246",
            "type": "phone",
            "status_updated": "1501468281",
            "status": "1",
            "call_status": 0,
            "number": "8018862300000002",
            "agent_name": "杨凯"
        }
    ]}