GetInstance
Queries the details of a Cloud Call Center instance based on the specified instance ID.
Operation description
Queries the details of a Cloud Call Center instance based on the specified instance ID.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
ccc-test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| Code |
string |
The response code. |
OK |
| Data |
object |
The data. |
|
| AdminList |
array<object> |
The list of administrators. |
|
|
object |
The administrator information. |
||
| DisplayName |
string |
The display name of the administrator. |
Administrator |
|
string |
The email address. |
username@example.com |
|
| Extension |
string |
The extension number of the agent. |
8032**** |
| InstanceId |
string |
The instance ID. |
ccc-test |
| LoginName |
string |
The logon name of the agent. |
agent |
| Mobile |
string |
The personal phone number of the agent. |
1382114**** |
| RoleId |
string |
The role ID, in the format of Role@instance ID. |
Admin@ccc-test |
| RoleName |
string |
The role name. Valid values:
|
Admin |
| UserId |
string |
The agent ID. |
agent@ccc-test |
| WorkMode |
string |
The work mode. Valid values:
|
ON_SITE |
| AgentType |
string |
The type of agent used by the instance. |
Human |
| AliyunUid |
string |
The Alibaba Cloud account ID to which the instance belongs. |
157123456789**** |
| ChatbotBusinessUnit |
object |
The chatbot business unit associated with the instance. |
{"UnitId":0,"UnitKey":""} |
| UnitId |
integer |
The ID of the chatbot business unit. |
0 |
| UnitKey |
string |
The identifier of the chatbot business unit. |
xxxxx_p_ccc_public |
| ConsoleUrl |
string |
The URL of the Cloud Call Center instance. This URL is used to access the homepage of the Cloud Call Center instance and consists of the specific URL of Cloud Call Center and the instance ID. |
https://ccc-v2.aliyun.com/#/workbench/ccc-test |
| Description |
string |
The description of the instance. |
Test instance of Cloud Call Center |
| DomainName |
string |
The domain name of the instance, which is globally unique. |
ccc-test |
| Id |
string |
The instance ID. |
ccc-test |
| Name |
string |
The instance name. |
Test instance |
| NumberList |
array<object> |
The list of phone numbers. |
|
|
array<object> |
The phone number information. |
||
| Active |
boolean |
Indicates whether the phone number is available. |
true |
| City |
string |
The city to which the phone number belongs. |
Leshan |
| ContactFlowId |
string |
The ID of the contact flow (IVR) associated with the phone number. |
2ec7a58f-3243-4815-bb21-97b480b95f5e |
| InstanceId |
string |
The instance ID. |
ccc-test |
| Number |
string |
The phone number. |
0830011**** |
| Province |
string |
The province to which the phone number belongs. |
Sichuan |
| SkillGroups |
array<object> |
The list of skill groups associated with the phone number. |
|
|
object |
The skill group information. |
||
| Description |
string |
The description of the skill group. |
Test skill group of Cloud Call Center |
| DisplayName |
string |
The display name of the skill group. |
Test skill group |
| InstanceId |
string |
The instance ID. |
ccc-test |
| Name |
string |
The name of the skill group. |
skillgroup |
| PhoneNumberCount |
integer |
The number of phone numbers associated with the skill group. |
1 |
| SkillGroupId |
string |
The skill group ID. |
skillgroup@ccc-test |
| UserCount |
integer |
The number of agents associated with the skill group. |
3 |
| Usage |
string |
The usage of the phone number. Valid values:
|
Bidirection |
| UserId |
string |
The agent ID. If this parameter is not empty, it indicates that the phone number is a personal outbound number for the agent. |
agent@ccc-test |
| Status |
string |
The instance status. Valid values:
|
RUNNING |
| 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": {
"AdminList": [
{
"DisplayName": "Administrator",
"Email": "username@example.com",
"Extension": "8032****",
"InstanceId": "ccc-test",
"LoginName": "agent",
"Mobile": "1382114****",
"RoleId": "Admin@ccc-test",
"RoleName": "Admin",
"UserId": "agent@ccc-test",
"WorkMode": "ON_SITE"
}
],
"AgentType": "Human",
"AliyunUid": "157123456789****",
"ChatbotBusinessUnit": {
"UnitId": 0,
"UnitKey": "xxxxx_p_ccc_public"
},
"ConsoleUrl": "https://ccc-v2.aliyun.com/#/workbench/ccc-test",
"Description": "A test instance of Cloud Call Center",
"DomainName": "ccc-test",
"Id": "ccc-test\n",
"Name": "Test instance",
"NumberList": [
{
"Active": true,
"City": "Leshan",
"ContactFlowId": "2ec7a58f-3243-4815-bb21-97b480b95f5e",
"InstanceId": "ccc-test",
"Number": "0830011****",
"Province": "Sichuan",
"SkillGroups": [
{
"Description": "A test skill group for Cloud Call Center",
"DisplayName": "Test skill group",
"InstanceId": "ccc-test",
"Name": "skillgroup",
"PhoneNumberCount": 1,
"SkillGroupId": "skillgroup@ccc-test",
"UserCount": 3
}
],
"Usage": "Bidirection",
"UserId": "agent@ccc-test"
}
],
"Status": "RUNNING"
},
"HttpStatusCode": 200,
"Message": "None",
"RequestId": "2778FA12-EDD6-42AA-9B15-AF855072E5E5"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | NotExists.InstanceId | The specified instance %s does not exist. | The specified call center instance does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.