查看客服状态

GET /apiv2/voice/availabilities/{id}.json
调用权限

admin

curl 示例
curl https://{subdomain}.kf5.com/apiv2/voice/availabilities/10.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{
    "availability": {
        "user_id": "25897249",
        "agent_id": "1001118",
        "type": "client",
        "status_updated": "1501150681",
        "status": "1",
        "call_status": 0,
        "number": "8018862300000773",
        "agent_name": "mike"
    }}