Invoke the ListInstances API to obtain the list of Cloud Contact Center instances under the current Alibaba Cloud account.
Operation description
If a RAM user needs to invoke this API, the RAM user must have the "Manage Cloud Call Center (CCC)" permission (AliyunCCCFullAccess).
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
Yes |
The paging ordinal number, ranging from 1 to 100. |
1 |
| PageSize |
integer |
Yes |
The paging size, ranging from 1 to 100. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The response code. |
OK |
| HttpStatusCode |
integer |
HTTP status code. |
200 |
| Message |
string |
Response message. |
无 |
| RequestId |
string |
Request ID. |
26A34338-5CD9-4C95-A7A6-5BDCE76C6B94 |
| Data |
object |
Data. |
|
| PageNumber |
integer |
Page number, ranging from 1 to 100. |
1 |
| PageSize |
integer |
Page size, ranging from 1 to 100. |
10 |
| TotalCount |
integer |
Total count. |
10 |
| List |
array<object> |
List. |
|
|
array<object> |
|||
| Status |
string |
Instance status. Valid values:
|
RUNNING |
| ConsoleUrl |
string |
The URL of the Cloud Contact Center instance, used to access the homepage of the Cloud Call Center instance. It is composed of the specific Cloud Call Center URL followed by the instance ID. |
https://ccc-v2.aliyun.com/#/workbench/ccc-test |
| Description |
string |
The instance description. |
云联络中心的测试实例。 |
| CreateTime |
integer |
The creation time of the instance. |
1624679747000 |
| AliyunUid |
string |
The Alibaba Cloud account ID to which the instance belongs. |
157123456789**** |
| Name |
string |
The instance name. |
测试实例 |
| DomainName |
string |
The domain name of the instance, which is globally unique. |
ccc-test |
| Id |
string |
The instance ID. |
ccc-test |
| AdminList |
array<object> |
Administrator list. |
|
|
object |
|||
| DisplayName |
string |
The administrator's name. |
测试坐席 |
| Extension |
string |
Agent extension number. |
8032**** |
| LoginName |
string |
Agent logon name. |
agent |
|
string |
Mailbox. |
username@example.com |
|
| WorkMode |
string |
Work mode. Valid values:
|
ON_SITE |
| Mobile |
string |
The agent's personal phone number. |
1382114**** |
| UserId |
string |
Agent ID. |
agent@ccc-test |
| RoleName |
string |
Role name. Valid values:
|
Admin |
| InstanceId |
string |
Instance ID. |
ccc-test |
| RoleId |
string |
The role ID, in the format: role@instance ID. |
Admin@ccc-test |
| NumberList |
array<object> |
The list of numbers. |
|
|
object |
|||
| Number |
string |
The number. |
0830011**** |
Examples
Success response
JSON format
{
"Code": "OK",
"HttpStatusCode": 200,
"Message": "无",
"RequestId": "26A34338-5CD9-4C95-A7A6-5BDCE76C6B94",
"Data": {
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 10,
"List": [
{
"Status": "RUNNING",
"ConsoleUrl": "https://ccc-v2.aliyun.com/#/workbench/ccc-test",
"Description": "云联络中心的测试实例。",
"CreateTime": 1624679747000,
"AliyunUid": "157123456789****",
"Name": "测试实例",
"DomainName": "ccc-test",
"Id": "ccc-test",
"AdminList": [
{
"DisplayName": "测试坐席",
"Extension": "8032****\n",
"LoginName": "agent",
"Email": "username@example.com",
"WorkMode": "ON_SITE",
"Mobile": "1382114****",
"UserId": "agent@ccc-test",
"RoleName": "Admin",
"InstanceId": "ccc-test",
"RoleId": "Admin@ccc-test"
}
],
"NumberList": [
{
"Number": "0830011****"
}
]
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | NotExists.InstanceId | The specified instance %s does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.