调用GetConfigNumList接口获取热线设置号码列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| InstanceId |
string |
是 |
AICCS 实例 ID。可在智能联络中心控制台上获取。 |
ccc_xp_pre-cn-*** |
| DepartmentId |
integer |
否 |
部门 ID。 |
12345 |
| AccountName |
string |
否 |
坐席账号名称。实例内唯一(登录名)。 |
123@123.com |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
EE339D98-9BD3-4413-B165 |
| Message |
string |
状态码描述。 |
xxxx |
| Data |
array |
号码列表。 |
|
|
string |
号码列表。 |
0:"057****890" 1:"057****506" 2:"057****507" 3:"057****417" 4:"057****090" 5:"057****888" |
|
| Code |
string |
状态码。返回 Success 表示请求成功。 |
Success |
| Success |
boolean |
接口调用是否成功。 |
true |
示例
正常返回示例
JSON格式
{
"RequestId": "EE339D98-9BD3-4413-B165",
"Message": "xxxx",
"Data": [
"0:\"057****890\" 1:\"057****506\" 2:\"057****507\" 3:\"057****417\" 4:\"057****090\" 5:\"057****888\""
],
"Code": "Success",
"Success": true
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | NoTenantFound | The specified tenant does not exist. | |
| 400 | NoAgentFound | The specified agent does not exist. | |
| 400 | Department.NotFound | The specified department does not exist. | 指定部门不存在 |
| 500 | SystemError | A system error occurred. Please contact the administrator. | 系统错误,请联系管理员! |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?