客服状态列表
GET /apiv2/voice/availabilities.json
调用权限
admin
curl 示例
curl https://{subdomain}.kf5.com/apiv2/voice/availabilities.json \
        -v -u {email_address}:{password}| Name | Type | Read-only | Comment | 
|---|---|---|---|
| agent_id | integer | yes | 客服UID | 
| user_id | integer | yes | 用户UID | 
| type | string | yes | phone:手机/落地号码上班,client:客户端上班 | 
| status_updated | integer | yes | 最近一次状态更新时间 | 
| status | integer | yes | 离线 0,在线 1,忙碌 2,小休 3 | 
| call_status | integer | yes | 未通话 0,通话中 1 | 
| number | string | yes | 上班号码 | 
| agent_name | string | yes | 客服名称 | 
返回示例
Status: 200 OK{
    "availabilities": [
        {
            "user_id": "13032510",
            "agent_id": "1000246",
            "type": "phone",
            "status_updated": "1501468281",
            "status": "1",
            "call_status": 0,
            "number": "8018862300000002",
            "agent_name": "杨凯"
        }
    ]}