QueryChildDivisionCode
Queries child division codes.
Operation description
Queries child division codes.
Try it now
Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
linkedmall:QueryChildDivisionCode |
get |
*All Resource
|
None | None |
Request syntax
POST /opensaas-s2b/opensaas-s2b-biz-trade/v2/division/commands/queryChildDivisionCode HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body | DivisionQuery |
Yes |
The parameters for querying child division codes. |
{
"divisionCode": "1"
}
Response elements
|
Element |
Type |
Description |
Example |
| DivisionPageResult |
The child division codes. |
{
"requestId": "85144A43-F418-1094-9A40-B8CE****8F30",
"divisionList": [
{
"parentId": 1,
"divisionCode": 310000,
"divisionName": "Shanghai",
"divisionLevel": 2,
"pinyin": "shang hai"
},
{
"parentId": 1,
"divisionCode": 530000,
"divisionName": "Yunnan Province",
"divisionLevel": 2,
"pinyin": "yun nan sheng"
},
{
"parentId": 1,
"divisionCode": 150000,
"divisionName": "Inner Mongolia Autonomous Region",
"divisionLevel": 2,
"pinyin": "nei meng gu zi zhi qu"
},
{
"parentId": 1,
"divisionCode": 110000,
"divisionName": "Beijing",
"divisionLevel": 2,
"pinyin": "bei jing"
},
{
"parentId": 1,
"divisionCode": 220000,
"divisionName": "Jilin Province",
"divisionLevel": 2,
"pinyin": "ji lin sheng"
},
{
"parentId": 1,
"divisionCode": 510000,
"divisionName": "Sichuan Province",
"divisionLevel": 2,
"pinyin": "si chuan sheng"
},
{
"parentId": 1,
"divisionCode": 120000,
"divisionName": "Tianjin",
"divisionLevel": 2,
"pinyin": "tian jin"
},
{
"parentId": 1,
"divisionCode": 640000,
"divisionName": "Ningxia Hui Autonomous Region",
"divisionLevel": 2,
"pinyin": "ning xia hui zu zi zhi qu"
},
{
"parentId": 1,
"divisionCode": 340000,
"divisionName": "Anhui Province",
"divisionLevel": 2,
"pinyin": "an hui sheng"
},
{
"parentId": 1,
"divisionCode": 370000,
"divisionName": "Shandong Province",
"divisionLevel": 2,
"pinyin": "shan dong sheng"
},
{
"parentId": 1,
"divisionCode": 140000,
"divisionName": "Shanxi Province",
"divisionLevel": 2,
"pinyin": "shan xi sheng"
},
{
"parentId": 1,
"divisionCode": 440000,
"divisionName": "Guangdong Province",
"divisionLevel": 2,
"pinyin": "guang dong sheng"
},
{
"parentId": 1,
"divisionCode": 450000,
"divisionName": "Guangxi Zhuang Autonomous Region",
"divisionLevel": 2,
"pinyin": "guang xi zhuang zu zi zhi qu"
},
{
"parentId": 1,
"divisionCode": 650000,
"divisionName": "Xinjiang Uygur Autonomous Region",
"divisionLevel": 2,
"pinyin": "xin jiang wei wu er zi zhi qu"
},
{
"parentId": 1,
"divisionCode": 320000,
"divisionName": "Jiangsu Province",
"divisionLevel": 2,
"pinyin": "jiang su sheng"
},
{
"parentId": 1,
"divisionCode": 360000,
"divisionName": "Jiangxi Province",
"divisionLevel": 2,
"pinyin": "jiang xi sheng"
},
{
"parentId": 1,
"divisionCode": 130000,
"divisionName": "Hebei Province",
"divisionLevel": 2,
"pinyin": "he bei sheng"
},
{
"parentId": 1,
"divisionCode": 410000,
"divisionName": "Henan Province",
"divisionLevel": 2,
"pinyin": "he nan sheng"
},
{
"parentId": 1,
"divisionCode": 330000,
"divisionName": "Zhejiang Province",
"divisionLevel": 2,
"pinyin": "zhe jiang sheng"
},
{
"parentId": 1,
"divisionCode": 460000,
"divisionName": "Hainan Province",
"divisionLevel": 2,
"pinyin": "hai nan sheng"
},
{
"parentId": 1,
"divisionCode": 420000,
"divisionName": "Hubei Province",
"divisionLevel": 2,
"pinyin": "hu bei sheng"
},
{
"parentId": 1,
"divisionCode": 430000,
"divisionName": "Hunan Province",
"divisionLevel": 2,
"pinyin": "hu nan sheng"
},
{
"parentId": 1,
"divisionCode": 620000,
"divisionName": "Gansu Province",
"divisionLevel": 2,
"pinyin": "gan su sheng"
},
{
"parentId": 1,
"divisionCode": 350000,
"divisionName": "Fujian Province",
"divisionLevel": 2,
"pinyin": "fu jian sheng"
},
{
"parentId": 1,
"divisionCode": 540000,
"divisionName": "Tibet Autonomous Region",
"divisionLevel": 2,
"pinyin": "xi zang zi zhi qu"
},
{
"parentId": 1,
"divisionCode": 520000,
"divisionName": "Guizhou Province",
"divisionLevel": 2,
"pinyin": "gui zhou sheng"
},
{
"parentId": 1,
"divisionCode": 210000,
"divisionName": "Liaoning Province",
"divisionLevel": 2,
"pinyin": "liao ning sheng"
},
{
"parentId": 1,
"divisionCode": 500000,
"divisionName": "Chongqing",
"divisionLevel": 2,
"pinyin": "chong qing"
},
{
"parentId": 1,
"divisionCode": 610000,
"divisionName": "Shaanxi Province",
"divisionLevel": 2,
"pinyin": "shan xi sheng"
},
{
"parentId": 1,
"divisionCode": 630000,
"divisionName": "Qinghai Province",
"divisionLevel": 2,
"pinyin": "qing hai sheng"
},
{
"parentId": 1,
"divisionCode": 230000,
"divisionName": "Heilongjiang Province",
"divisionLevel": 2,
"pinyin": "hei long jiang sheng"
}
]
}
Examples
Success response
JSON format
{
"divisionList": [
{
"divisionName": "上海",
"divisionCode": 310000,
"divisionLevel": 2,
"pinyin": "shang hai",
"parentId": 1
}
],
"requestId": "841471F6-5D61-1331-8C38-2****B55"
}
Error codes
See Error CodesError Codes for a complete list.
Release notes
See Release NotesRelease Notes for a complete list.