根据fullcode查询地址层级

业务场景

根据地址的fullCode获取所在地址的层级结构.

接口说明

因为地址库数据变更, 根据“-”拆分出各个层次的fullCode不在准确, 需要使用该接口查询各个层次的fullCode.

接口地址

/api/openapi/location/parent/level/info

请求类型

POST

请求参数

字段 类型 必须 默认值 描述
JsonArray Y 地址fullCode数组

参数样例

["domestic-ZH32-ZH32_1-ZH32_1_85"]

响应参数

参数说明

字段 类型 描述
fullCode String 地址fullcode
dhCode String 生态码
fullCodes String数组 fullcode

参数样例

{
  "code": "ACK",
  "message": "",
  "data": [
    {
      "fullCode": "domestic-ZH32-ZH32_1-ZH32_1_85",
      "dhCode": "",
      "fullCodes": [
        "domestic",
        "domestic-ZH32",
        "domestic-ZH32-ZH32_1",
        "domestic-ZH32-ZH32_1-ZH32_1_85"
      ]
    }
  ],
  "success": true
}
Copyright © 杭州每刻科技有限公司 www.maycur.com all right reserved,powered by Gitbook该文件修订时间: 2025-10-09 10:42:42

results matching ""

    No results matching ""

    results matching ""

      No results matching ""