调用DescribeEnsNetSaleDistrict查询支持的地域运营商及数量。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ens:DescribeEnsNetSaleDistrict |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| NetLevelCode |
string |
是 |
网络层级。取值:
|
Big |
| NetDistrictCode |
string |
否 |
地域代码。
|
100105 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| Code |
integer |
业务码,成功返回 0。 |
0 |
| EnsNetDistricts |
object |
||
| EnsNetDistrict |
array<object> |
地域运营商信息。 |
|
|
object |
|||
| EnsRegionIdCount |
string |
运营商信息。 |
{ "count":2, "name":"电信", "code":"telecom", "country":"cn" } |
| InstanceCount |
string |
实例信息。 |
{ "count":2, "code":"multiCarrier" } |
| NetDistrictCode |
string |
地域代码。 |
100101 |
| NetDistrictEnName |
string |
地域英文名。 |
northEast |
| NetDistrictFatherCode |
string |
地域上级代码。 |
100000 |
| NetDistrictLevel |
string |
地域级别。取值:
|
Big |
| NetDistrictName |
string |
地域中文名称。 |
东北 |
| RequestId |
string |
请求 ID。 |
1707B55C-A12F-43EF-BC66-14FFDB9253C3 |
示例
正常返回示例
JSON格式
{
"Code": 0,
"EnsNetDistricts": {
"EnsNetDistrict": [
{
"EnsRegionIdCount": "{ \"count\":2, \"name\":\"电信\", \"code\":\"telecom\", \"country\":\"cn\" }",
"InstanceCount": "{ \"count\":2, \"code\":\"multiCarrier\" }",
"NetDistrictCode": "100101",
"NetDistrictEnName": "northEast",
"NetDistrictFatherCode": "100000",
"NetDistrictLevel": "Big",
"NetDistrictName": "东北"
}
]
},
"RequestId": "1707B55C-A12F-43EF-BC66-14FFDB9253C3"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | MissingParameter | The input parameter domainName that is mandatory for processing this request is not supplied. | |
| 400 | InstanceIdNotFound | The input parameter instancdId that is not found. | 指定的实例ID不存在。 |
| 400 | NoPermission | Permission denied. | |
| 400 | CallInterface | Call Interface Happen Error. | 接口调用出错。 |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。