地址详情转换地址编码
开发中
测试环境
https://t-open.zuifuli.com
测试环境
https://t-open.zuifuli.com
POST
https://t-open.zuifuli.com
应用场景
因而,优先推荐使用省市区镇四级地址查询得到的地址信息。
接口信息
serviceName | base.address.convert |
---|---|
version | 1.0 |
请求****bizContent参数
名称 | 类型 | 必填 | 说明 |
---|---|---|---|
address | String | 是 | 地址详情,如北京市大兴区亦庄经济开发区经海路5号 |
响应bizContent参数
名称 | 类型 | 必填 | 说明 |
---|---|---|---|
AddressVO | AddressVO | 是 | 查询结果 |
AddressVO
名称 | 类型 | 必填 | 说明 |
---|---|---|---|
nationId | String | 是 | 国家ID |
nation | String | 是 | 国家名称 |
provinceId | Integer | 是 | 一级地址ID |
province | String | 是 | 一级地址名称 |
cityId | Integer | 是 | 二级地址ID |
city | String | 是 | 二级地址名称 |
countyId | Integer | 是 | 三级地址ID |
county | String | 是 | 三级地址名称 |
townId | Integer | 否 | 四级地址ID |
town | String | 否 | 四级地址名称 |
{
"provinceId": 1,
"county": "亦庄经济开发区",
"cityId": 2810,
"province": "北京市",
"townId": null,
"town": null,
"countyId": 51081,
"nation": "中国",
"city": "大兴区",
"nationId": "4744"
}
请求参数
Body 参数application/x-www-form-urlencoded
channelCode
string
渠道编号
sign
string
签名
signType
string
必需
示例值:
MD5
timestamp
string
必需
bizContent
string
必需
version
string
版本号
示例值:
1.0
serviceName
string
服务名称
示例值:
base.address.convert