GetConfigNumList
Invoke the GetConfigNumList API to obtain the hotline settings number list.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The Artificial Intelligence Cloud Call Service (AICCS) instance ID. You can obtain it from the Artificial Intelligence Cloud Call Service console. |
ccc_xp_pre-cn-*** |
| DepartmentId |
integer |
No |
The department ID. |
12345 |
| AccountName |
string |
No |
The agent account name. It is unique within the instance (logon name). |
123@123.com |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
EE339D98-9BD3-4413-B165 |
| Message |
string |
Description of the status code. |
xxxx |
| Data |
array |
The number list. |
|
|
string |
The number list. |
0:"057****890" 1:"057****506" 2:"057****507" 3:"057****417" 4:"057****090" 5:"057****888" |
|
| Code |
string |
The status code. A return value of "Success" indicates that the request succeeded. |
Success |
| Success |
boolean |
Indicates whether the API call succeeded. |
true |
Examples
Success response
JSON format
{
"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
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.