根据fullcode查询地址层级
接口:/location/parent/level/info
Method:POST
数据格式:JSON
请求参数:
字段 | 类型 | 必须 | 默认值 | 描述 |
---|---|---|---|---|
timestamp | long | N | 时间戳 | |
data | String数组 | Y | 地址fullCode数组 |
返回数据:
字段 | 类型 | 描述 |
---|---|---|
fullCode | String | 地址fullcode |
dhCode | String | 生态码 |
fullCodes | String数组 | fullcode |
示例
- 请求示例:
{
"timestamp":12345678,
"data":["domestic-ZH32-ZH32_1-ZH32_1_85"]
}
- 返回示例:
{
"code": "ACK",
"message": null,
"data": [
{
"fullCode": "domestic-ZH32-ZH32_1-ZH32_1_85",
"dhCode": "10001",
"fullCodes": ["domestic", "domestic-ZH32","domestic-ZH32-ZH32_1", "domestic-ZH32-ZH32_1-ZH32_1_85"]
}
],
"args": null,
"linkDetail": false,
"lastPage": true,
"nonBizError": false
}