云客服-查询座席业务账号信息(agentAccount/query):报文样例

时间:2024-09-24 14:46:48

报文样例

  • 场景描述:查询座席业务账号——按业务账号查询

请求头:

x-app-key: XXXXXXXXXXXXXXXXXXXXXXX
Content-Type: application/json
Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXX

请求参数:

{
    "userAccount":"test123456"
}

响应参数:

{
    "data": [
        {
            "skills": [
                {
                    "skillId": 2,
                    "agentWeight": 1,
                    "skillWeight": 2
                }
            ],
            "agentType": 11,
            "phone": "",
            "userAccount": "test123456",
            "ccRoleId": 2,
            "userName": "test111",
            "sipAccount": "88880551",
            "email": "tst@*****.com"
        }
    ],
    "resultCode": "0",
    "resultMessage": "get agent account info success"
}
  • 场景描述:查询座席——按分页查询

请求头:

x-app-key: XXXXXXXXXXXXXXXXXXXXXXX
Content-Type: application/json
Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXX

请求参数:

{
        "pageNum":0,
	"pageSize":1
}

响应参数:

{
    "data": [
        {
            "skills": [
                {
                    "skillId": 3,
                    "agentWeight": 1,
                    "skillWeight": 1
                }
            ],
            "agentType": 4,
            "phone": "",
            "userAccount": "chenchuang0513",
            "ccRoleId": 2,
            "sipAccount": "88880550",
            "userName": "chenchuang0513",
            "email": "che@*****.com"
        }
    ],
    "resultCode": "0",
    "resultMessage": "get agent account info success"
}
support.huaweicloud.com/api-ccfs-cec/cec_07_1004.html