查询子区域编码。
接口说明
查询子区域编码
调试
您可以在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 内部配置变更,不影响调用 | 查看变更详情 |