AddHotlineNumber
Invoke the AddHotlineNumber API to add a hotline number.
Operation description
Hotline numbers are for inbound and outbound calls only.
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 in the Intelligent Contact Center console. |
ccc_xp_pre-cn-*** |
| HotlineNumber |
string |
Yes |
Hotline number. |
05710000**** |
| Description |
string |
Yes |
Description of the number. |
热线号码 |
| EnableInbound |
boolean |
Yes |
Indicates whether the number is used for inbound calls. |
true |
| InboundFlowId |
integer |
No |
The IVR flow ID for inbound calls. You can obtain it on the SaaS Workbench > Channel Integration > IVR Flow Management page. |
123456 |
| EnableOutbound |
boolean |
Yes |
Whether it is used for outbound calls. |
true |
| OutboundAllDepart |
boolean |
Yes |
Whether outbound calls apply to all departments under the instance. |
true |
| EnableInboundEvaluation |
boolean |
Yes |
Whether inbound satisfaction evaluation is enabled. |
true |
| EnableOutboundEvaluation |
boolean |
Yes |
Indicates whether outbound call satisfaction evaluation is enabled. |
true |
| EvaluationLevel |
integer |
No |
Satisfaction Level. Valid values:
|
2 |
| OutboundRangeList |
array<object> |
No |
Outbound call effective scope. |
|
|
object |
No |
Outbound call effective scope. |
||
| GroupIdList |
array |
No |
List of effective skill groups. Note
If the skill group list is empty, the setting applies to the entire department. Otherwise, it applies only to the specified skill groups under the department. |
|
|
integer |
No |
Skill group ID. |
1234 |
|
| DepartmentId |
integer |
No |
Effective department ID. |
123456 |
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. |
OK |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Code |
string |
The status code. A 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": "OK",
"HttpStatusCode": 200,
"Code": "Success",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.