GetTurnServerList
Retrieves the list of front-end access points for Cloud Call Center. Accessing Cloud Call Center through front-end access points effectively improves network quality and stability.
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 |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Code |
string |
The response code. |
OK |
| Message |
string |
The response message. |
success |
| RequestId |
string |
The request ID. |
ABCDEF01-2345-5A67-89AB-0123456789AB |
| Data |
string |
The data, which is a list of front-end access point server information. |
[ { "region":"hangzhou", "name":"Hangzhou", "domain":"turn-hz-ecs.ccc.aliyuncs.com", "cidr":"172.31.XX.XX/28" }, { "region":"qingdao", "name":"Qingdao", "domain":"turn-qd-ecs.ccc.aliyuncs.com", "cidr":"172.31.XX.XX/28" }, { "region":"shanghai", "name":"Shanghai", "domain":"turn-sh-ecs.ccc.aliyuncs.com", "cidr":"172.31.XX.XX/28" }, { "region":"chengdu", "name":"Chengdu", "domain":"turn-cd-ecs.ccc.aliyuncs.com", "cidr":"172.31.XX.XX/28" }, { "region":"beijing", "name":"Beijing", "domain":"turn-bj-ecs.ccc.aliyuncs.com", "cidr":"172.31.XX.XX/28" }, { "region":"huanan", "name":"Shenzhen", "domain":"turn-sz-ecs.ccc.aliyuncs.com", "cidr":"172.31.XX.XX/28" }, { "region":"zhangbei", "name":"Zhangjiakou", "domain":"turn-zb-ecs.ccc.aliyuncs.com", "cidr":"172.31.XX.XX/28" } ] |
| Params |
array |
The response parameters. |
|
|
string |
The response parameters. |
None |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Code": "OK",
"Message": "success",
"RequestId": "ABCDEF01-2345-5A67-89AB-0123456789AB",
"Data": "[\n\t{\n\t\t\"region\":\"hangzhou\",\n\t\t\"name\":\"杭州\",\n\t\t\"domain\":\"turn-hz-ecs.ccc.aliyuncs.com\",\n\t\t\"cidr\":\"172.31.XX.XX/28\"\n\t},\n\t{\n\t\t\"region\":\"qingdao\",\n\t\t\"name\":\"青岛\",\n\t\t\"domain\":\"turn-qd-ecs.ccc.aliyuncs.com\",\n\t\t\"cidr\":\"172.31.XX.XX/28\"\n\t},\n\t{\n\t\t\"region\":\"shanghai\",\n\t\t\"name\":\"上海\",\n\t\t\"domain\":\"turn-sh-ecs.ccc.aliyuncs.com\",\n\t\t\"cidr\":\"172.31.XX.XX/28\"\n\t},\n\t{\n\t\t\"region\":\"chengdu\",\n\t\t\"name\":\"成都\",\n\t\t\"domain\":\"turn-cd-ecs.ccc.aliyuncs.com\",\n\t\t\"cidr\":\"172.31.XX.XX/28\"\n\t},\n\t{\n\t\t\"region\":\"beijing\",\n\t\t\"name\":\"北京\",\n\t\t\"domain\":\"turn-bj-ecs.ccc.aliyuncs.com\",\n\t\t\"cidr\":\"172.31.XX.XX/28\"\n\t},\n\t{\n\t\t\"region\":\"huanan\",\n\t\t\"name\":\"深圳\",\n\t\t\"domain\":\"turn-sz-ecs.ccc.aliyuncs.com\",\n\t\t\"cidr\":\"172.31.XX.XX/28\"\n\t},\n\t{\n\t\t\"region\":\"zhangbei\",\n\t\t\"name\":\"张北\",\n\t\t\"domain\":\"turn-zb-ecs.ccc.aliyuncs.com\",\n\t\t\"cidr\":\"172.31.XX.XX/28\"\n\t}\n]",
"Params": [
"无"
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Parameter.Blank | The parameter %s may not be null or blank. | The parameter cannot be null or a string that contains whitespace characters. |
| 400 | Parameter.Null | The parameter %s may not be null. | The parameter cannot be null. |
| 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.