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

时间:2023-11-01 16:19:55

报文样例

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

请求头:

x-app-key: XXXXXXXXXXXXXXXXXXXXXXXContent-Type: application/jsonAuthorization: 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: XXXXXXXXXXXXXXXXXXXXXXXContent-Type: application/jsonAuthorization: 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_05_7005.html