1.接口说明

  • 可通过该接口可查询技能组下绑定坐席的状态。

2.调用URL

https://ykf.uincall.com/openapi/communication/skill/agents?tenant_id=acf528a2-d0e2-xxxx-xxxx-74cb3995cfab&access_token=b57b2dc8edf583xxxxxd71d8a04d0df3&skillId=7e42697c076c4ff5a05e464ac0f28c90

3.调用方式

GET

4、传入参数

名称 类型 是否必填 说明
skillId String 技能组ID

5、响应参数

名称 类型 说明
errcode Integer 状态码:0成功,其他非0错误码,详见错误码列表
errmsg String 状态说明
agentnum String 座席编号
reason String 变更原因。agent setup 座席主动设置 call out 外呼 call answer 接听 call end 通话结束 incoming call 座席来电 auto start 坐席会话时长开始 auto set 坐席会话时长超时
changetime String 状态变更时间
stateto String 座席通信状态:ready 空闲 busy 忙碌 0 小休 offline 离线
id String ID信息
statefrom String 座席上一个状态
islogin String true 座席登录 false 座席未登录

6、使用样例

调用:
https://ykf.uincall.com/openapi/communication/skill/agents?tenant_id=acf528a2-d0e2-xxxx-xxxx-74cb3995cfab&access_token=b57b2dc8edf583xxxxxd71d8a04d0df3&skillId=7e42697c076c4ff5a05e464ac0f28c90

响应:

{
    "errcode": 0,
    "errmsg": "success",
    "data": [
        {
            "agentnum": "6666",
            "reason": "",
            "changetime": "",
            "stateto": "",
            "id": "6da5d1d81634f934b0ba5d1d4ce2dde8",
            "islogin": false,
            "statefrom": ""
        },
        {
            "agentnum": "8014",
            "reason": "agent setup",
            "changetime": "2024-08-14 14:21:54",
            "stateto": "0",
            "id": "904970c00cb1ec7ee8c838562270d787",
            "islogin": true,
            "statefrom": "ready"
        },
        {
            "agentnum": "8018",
            "reason": "",
            "changetime": "",
            "stateto": "",
            "id": "4c2ce037d9f0a905d7e154e10b13de3d",
            "islogin": false,
            "statefrom": ""
        },
        {
            "agentnum": "1006",
            "reason": "",
            "changetime": "",
            "stateto": "",
            "id": "1146d93161f9d017d403dd3108cd042e",
            "islogin": false,
            "statefrom": ""
        }
    ]
}
文档更新时间: 2024-09-24 14:30   作者:admin