查詢子區域編碼。
接口說明
查詢子區域編碼
調試
您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。
授權信息
當前API暫無授權信息透出。
請求語法
POST /opensaas-s2b/opensaas-s2b-biz-trade/v1/division/commands/queryChildDivisionCode HTTP/1.1
請求參數
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
body | DivisionQuery | 是 | 查詢子區域編碼 |
{
"divisionCode": "1"
}
返回參數
{
"requestId": "85144A43-F418-1094-9A40-B8CE****8F30",
"divisionList": [
{
"parentId": 1,
"divisionCode": 310000,
"divisionName": "上海",
"divisionLevel": 2,
"pinyin": "shang hai"
},
{
"parentId": 1,
"divisionCode": 530000,
"divisionName": "云南省",
"divisionLevel": 2,
"pinyin": "yun nan sheng"
},
{
"parentId": 1,
"divisionCode": 150000,
"divisionName": "內蒙古自治區",
"divisionLevel": 2,
"pinyin": "nei meng gu zi zhi qu"
},
{
"parentId": 1,
"divisionCode": 110000,
"divisionName": "北京",
"divisionLevel": 2,
"pinyin": "bei jing"
},
{
"parentId": 1,
"divisionCode": 220000,
"divisionName": "吉林省",
"divisionLevel": 2,
"pinyin": "ji lin sheng"
},
{
"parentId": 1,
"divisionCode": 510000,
"divisionName": "四川省",
"divisionLevel": 2,
"pinyin": "si chuan sheng"
},
{
"parentId": 1,
"divisionCode": 120000,
"divisionName": "天津",
"divisionLevel": 2,
"pinyin": "tian jin"
},
{
"parentId": 1,
"divisionCode": 640000,
"divisionName": "寧夏回族自治區",
"divisionLevel": 2,
"pinyin": "ning xia hui zu zi zhi qu"
},
{
"parentId": 1,
"divisionCode": 340000,
"divisionName": "安徽省",
"divisionLevel": 2,
"pinyin": "an hui sheng"
},
{
"parentId": 1,
"divisionCode": 370000,
"divisionName": "山東省",
"divisionLevel": 2,
"pinyin": "shan dong sheng"
},
{
"parentId": 1,
"divisionCode": 140000,
"divisionName": "山西省",
"divisionLevel": 2,
"pinyin": "shan xi sheng"
},
{
"parentId": 1,
"divisionCode": 440000,
"divisionName": "廣東省",
"divisionLevel": 2,
"pinyin": "guang dong sheng"
},
{
"parentId": 1,
"divisionCode": 450000,
"divisionName": "廣西壯族自治區",
"divisionLevel": 2,
"pinyin": "guang xi zhuang zu zi zhi qu"
},
{
"parentId": 1,
"divisionCode": 650000,
"divisionName": "新疆維吾爾自治區",
"divisionLevel": 2,
"pinyin": "xin jiang wei wu er zi zhi qu"
},
{
"parentId": 1,
"divisionCode": 320000,
"divisionName": "江蘇省",
"divisionLevel": 2,
"pinyin": "jiang su sheng"
},
{
"parentId": 1,
"divisionCode": 360000,
"divisionName": "江西省",
"divisionLevel": 2,
"pinyin": "jiang xi sheng"
},
{
"parentId": 1,
"divisionCode": 130000,
"divisionName": "河北省",
"divisionLevel": 2,
"pinyin": "he bei sheng"
},
{
"parentId": 1,
"divisionCode": 410000,
"divisionName": "河南省",
"divisionLevel": 2,
"pinyin": "he nan sheng"
},
{
"parentId": 1,
"divisionCode": 330000,
"divisionName": "浙江省",
"divisionLevel": 2,
"pinyin": "zhe jiang sheng"
},
{
"parentId": 1,
"divisionCode": 460000,
"divisionName": "海南省",
"divisionLevel": 2,
"pinyin": "hai nan sheng"
},
{
"parentId": 1,
"divisionCode": 420000,
"divisionName": "湖北省",
"divisionLevel": 2,
"pinyin": "hu bei sheng"
},
{
"parentId": 1,
"divisionCode": 430000,
"divisionName": "湖南省",
"divisionLevel": 2,
"pinyin": "hu nan sheng"
},
{
"parentId": 1,
"divisionCode": 620000,
"divisionName": "甘肅省",
"divisionLevel": 2,
"pinyin": "gan su sheng"
},
{
"parentId": 1,
"divisionCode": 350000,
"divisionName": "福建省",
"divisionLevel": 2,
"pinyin": "fu jian sheng"
},
{
"parentId": 1,
"divisionCode": 540000,
"divisionName": "西藏自治區",
"divisionLevel": 2,
"pinyin": "xi zang zi zhi qu"
},
{
"parentId": 1,
"divisionCode": 520000,
"divisionName": "貴州省",
"divisionLevel": 2,
"pinyin": "gui zhou sheng"
},
{
"parentId": 1,
"divisionCode": 210000,
"divisionName": "遼寧省",
"divisionLevel": 2,
"pinyin": "liao ning sheng"
},
{
"parentId": 1,
"divisionCode": 500000,
"divisionName": "重慶",
"divisionLevel": 2,
"pinyin": "chong qing"
},
{
"parentId": 1,
"divisionCode": 610000,
"divisionName": "陜西省",
"divisionLevel": 2,
"pinyin": "shan xi sheng"
},
{
"parentId": 1,
"divisionCode": 630000,
"divisionName": "青海省",
"divisionLevel": 2,
"pinyin": "qing hai sheng"
},
{
"parentId": 1,
"divisionCode": 230000,
"divisionName": "黑龍江省",
"divisionLevel": 2,
"pinyin": "hei long jiang sheng"
}
]
}
示例
正常返回示例
JSON
格式
{
"divisionList": [
{
"divisionName": "上海",
"divisionCode": 310000,
"divisionLevel": 2,
"pinyin": "shang hai",
"parentId": 1
}
],
"requestId": "841471F6-5D61-1331-8C38-2****B55"
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
變更時間 | 變更內容概要 | 操作 |
---|---|---|
2023-09-18 | API 內部配置變更,不影響調用 | 查看變更詳情 |