如何获取PCDN的API接口所有支持的运营商列表
描述
获取所有支持的运营商列表
请求参数
返回参数
数据类型 UsageData
特定错误码
示例
请求示例http://pcdn.aliyuncs.com/?SignatureVersion=1.0&Action=GetAllIsp&Format=XML&SignatureNonce=5f50d583-9336-4c3a-82d2-c50efe6a9f74&Version=2017-04-11&AccessKeyId=LTAIHB6hAhgmlYBP&Signature=x2cUrEl9bNksrpU75p%2BHCn5PlTE%3D&SignatureMethod=HMAC-SHA1&RegionId=cn-hangzhou&Timestamp=2017-06-01T03%3A43%3A53Z&<公共参数>
返回示例JSON格式:{
"RequestId": "FB3AA371-2230-4FF8-8E94-952EBF2CF30C",
"DataList": {
"UsageData": [
{
"ResourceId": "tu9lfh",
"NameEn": "unicom",
"NameCn": "联通"
},
{
"ResourceId": "1em7qj4",
"NameEn": "telecom",
"NameCn": "电信"
},
{
"ResourceId": "iplnlf",
"NameEn": "mobile",
"NameCn": "移动"
},
{
"ResourceId": "1c0vz6g",
"NameEn": "cernet",
"NameCn": "教育网"
},
{
"ResourceId": "1stffhs",
"NameEn": "dounder",
"NameCn": "方正宽带"
},
{
"ResourceId": "rbgdlh",
"NameEn": "tietong",
"NameCn": "铁通"
},
{
"ResourceId": "tp4xpa",
"NameEn": "greatwall",
"NameCn": "长宽"
},
{
"ResourceId": "13e8i39",
"NameEn": "other",
"NameCn": "其他"
}
]
},
"Code": 0
}
XML格式<?xml version="1.0" encoding="utf-8"?>
<GetAllIspResponse>
<RequestId>7EA16831-74AC-4A2A-8355-19BEEF546663</RequestId>
<DataList>
<UsageData>
<ResourceId>tu9lfh</ResourceId>
<NameEn>unicom</NameEn>
<NameCn>联通</NameCn>
</UsageData>
<UsageData>
<ResourceId>1em7qj4</ResourceId>
<NameEn>telecom</NameEn>
<NameCn>电信</NameCn>
</UsageData>
<UsageData>
<ResourceId>iplnlf</ResourceId>
<NameEn>mobile</NameEn>
<NameCn>移动</NameCn>
</UsageData>
<UsageData>
<ResourceId>1c0vz6g</ResourceId>
<NameEn>cernet</NameEn>
<NameCn>教育网</NameCn>
</UsageData>
<UsageData>
<ResourceId>1stffhs</ResourceId>
<NameEn>dounder</NameEn>
<NameCn>方正宽带</NameCn>
</UsageData>
<UsageData>
<ResourceId>rbgdlh</ResourceId>
<NameEn>tietong</NameEn>
<NameCn>铁通</NameCn>
</UsageData>
<UsageData>
<ResourceId>tp4xpa</ResourceId>
<NameEn>greatwall</NameEn>
<NameCn>长宽</NameCn>
</UsageData>
<UsageData>
<ResourceId>13e8i39</ResourceId>
<NameEn>other</NameEn>
<NameCn>其他</NameCn>
</UsageData>
</DataList>
<Code>0</Code>
</GetAllIspResponse>
收起
云栖大讲堂
2017-10-27 17:14:43
2761
0
0
条回答
写回答
取消
提交回答