調用DescribeSiteMonitorISPCityList介面查詢所有電訊廠商探測點詳情。
介面說明
本文將提供一個樣本,查詢電訊廠商“聯通”在“貴陽市”的探測點詳情。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| Isp |
string |
否 |
電訊廠商探測點的名稱或 ID。 說明
電訊廠商名稱支援模糊查詢。 |
聯通 |
| City |
string |
否 |
電訊廠商探測點所在城市的名稱或 ID。 說明
城市名稱支援模糊查詢。 |
貴陽市 |
| IPV6 |
boolean |
否 |
是否查詢 IPv6 探針。取值:
|
true |
| IPV4 |
boolean |
否 |
是否查詢 IPv4 探針。取值:
|
true |
| ViewAll |
boolean |
否 |
是否返回所有探測點。取值:
|
true |
關於公用請求參數的詳情,請參見公用參數。
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| Code |
string |
狀態代碼。 說明
200 表示成功。 |
200 |
| Message |
string |
返回資訊。 |
successful |
| RequestId |
string |
請求 ID。 |
B35D7D84-547B-4E61-B909-48A1F8A0C756 |
| Success |
string |
操作是否成功。取值:
|
true |
| IspCityList |
object |
||
| IspCity |
array<object> |
探測點列表。 |
|
|
array<object> |
探測點列表。 |
||
| CityName.en |
string |
城市名稱(英文)。 |
Guiyang |
| IPV4ProbeCount |
string |
IPv4 探針數量。 |
4 |
| City |
string |
城市 ID。 |
4 |
| Isp |
string |
電訊廠商 ID。 |
232 |
| CityName.zh_CN |
string |
城市名稱(簡體中文)。 說明
該參數僅適用於中國站。 |
貴陽市 |
| Region.zh_CN |
string |
省份(簡體中文)。 說明
該參數僅適用於中國站。 |
貴州省 |
| IspName.zh_CN |
string |
電訊廠商名稱(簡體中文)。 說明
該參數僅適用於中國站。 |
聯通 |
| Country.en |
string |
國家(英文)。 |
China |
| IPV6ProbeCount |
string |
IPv6 探針數量。 |
3 |
| Region |
string |
省份代碼。 |
264 |
| Country |
string |
國家代碼。 |
629 |
| IspName.en |
string |
電訊廠商名稱(英文)。 |
China-Unicom |
| Region.en |
string |
省份(英文)。 |
Guizhou |
| Country.zh_CN |
string |
國家(簡體中文)。 說明
該參數僅適用於中國站。 |
中國 |
| Area.zh_CN |
string |
地區(簡體中文)。 說明
該參數僅適用於中國站。 |
西南 |
| Area.en |
string |
地區(漢語拼音)。 |
XiNan |
| IPPool |
object |
||
| IPPool |
array |
IP 位址集區。 |
|
|
string |
IP 位址集區。 |
["192.68.XX.XX","192.68.XX.XX"] |
樣本
正常返回樣本
JSON格式
{
"Code": "200",
"Message": "successful",
"RequestId": "B35D7D84-547B-4E61-B909-48A1F8A0C756",
"Success": "true",
"IspCityList": {
"IspCity": [
{
"CityName.en": "Guiyang",
"IPV4ProbeCount": "4",
"City": "4",
"Isp": "232",
"CityName.zh_CN": "貴陽市",
"Region.zh_CN": "貴州省",
"IspName.zh_CN": "聯通",
"Country.en": "China",
"IPV6ProbeCount": "3",
"Region": "264",
"Country": "629",
"IspName.en": "China-Unicom",
"Region.en": "Guizhou",
"Country.zh_CN": "中國",
"Area.zh_CN": "西南",
"Area.en": "XiNan",
"IPPool": {
"IPPool": [
"[\"192.68.XX.XX\",\"192.68.XX.XX\"]"
]
}
}
]
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | InvalidQueryParameter | %s | |
| 401 | AccessDeniedException | You donot have sufficient access to perform this action. | |
| 500 | InternalError | %s | |
| 402 | LimitExceeded | The quota for this customer had been reached. | |
| 403 | Forbidden | You are not authorized to operate the specified resource. | 沒有許可權,請使用RAM進行授權 |
| 503 | %s | %s | |
| 406 | ExceedingQuota | Exceeding quota limits. | 任務數量超出限額 |
| 429 | ThrottlingException | The request was denied due to request throttling. | |
| 409 | %s | %s |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。