調用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. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。