CreateInstance
Creates a Cloud Call Center instance.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
The name of the instance. The name must be 4 to 32 characters in length. |
Test instance |
| Description |
string |
No |
The description of the instance. The description can be up to 256 characters in length. |
Test instance for Cloud Call Center |
| DomainName |
string |
Yes |
The second-level domain name of the Cloud Call Center instance, which is the instance ID and must be globally unique. The name must be 4 to 48 characters in length and can contain only letters, digits, underscores (_), and hyphens (-). |
ccc-test |
| NumberList |
string |
No |
The list of phone numbers for the Cloud Call Center instance to be created. The current account must have the right to use the phone numbers, and the phone numbers must not be used by other instances. |
["0830011xxxx", "0830312xxxx"] |
| AdminRamIdList |
string |
Yes |
The list of RAM user IDs that serve as administrators of the Cloud Call Center instance. After the instance is created, the RAM users in the list are automatically imported into the new instance as administrators. |
["24861380681070****","105980354482****"] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The response code. |
OK |
| Data |
string |
The data. The value is the ID of the backend workflow for creating the instance. |
75c1346c-1dc2-4ed8-973f-edf8b1e5fe77 |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Message |
string |
The response message. |
None |
| RequestId |
string |
The request ID. |
2778FA12-EDD6-42AA-9B15-AF855072E5E5 |
Examples
Success response
JSON format
{
"Code": "OK",
"Data": "75c1346c-1dc2-4ed8-973f-edf8b1e5fe77",
"HttpStatusCode": 200,
"Message": "无",
"RequestId": "2778FA12-EDD6-42AA-9B15-AF855072E5E5"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | NotExists.Number | The specified number %s does not exist in instance %s. | The specified number does not exist in the Cloud Contact Center instance. |
| 409 | AlreadyExists.InstanceId | The instance %s already exists. | The cloud contact center instance already exists. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.