网点查询接口


目录

1.网点查询接口(版本1.0)

输入参数

字段 类型 长度 是否必填 参数说明 备注
address String 200 地址  
deliveryMethod String 20 送货方式 枚举值(ALL:全部;DELIVERY:送货上门;PICKUPSELF:客户自提)

2.网点查询接口(版本2.0)

输入参数

字段 类型 长度 是否必填 参数说明 备注
address String 200 地址  
deliveryMethod String 20 送货方式 枚举值(DELIVERY:送货上门;PICKUPSELF:客户自提)

3.输出参数(V1/V2通用)

输出参数(ResBaseVo实体)

字段 类型 长度 是否必填 参数说明 备注
errcode String 20 错误编码  
errmsg String 200 错误消息  
result DestinationVo   请求结果  

输出参数(DestinationVo实体)

字段 类型 长度 是否必填 参数说明 备注
lat Double   地址纬度  
lng Double   地址经度  
destinations List 200 到货门店列表  

输出参数(StoreInfo实体)

字段 类型 长度 是否必填 参数说明 备注
code String 20 门店编码  
name String 200 门店名称  
logistCode String 200 物流代码  
lat Double   门店纬度  
lng Double   门店纬度  
address String 200 门店地址  
phone String 200 门店电话  
delivery String 200 是否可送货 枚举值(Y:是;N:否;)
pickUpSelf String 200 是否可自提 枚举值(Y:是;N:否;)
driverDistance Double   行车距离 地址距离门店的行车距离
driverDistanceText String 50 行车距离(文本) 用于显示

输出参数示例:

{
    "result": {
        "lat": 39.938333,
        "lng": 116.4219877,
        "destinations": [
            {
                "address": "北京市北京市朝阳区朝阳北路定福家园南里一号院3号楼3-1号",
                "name": "北京朝阳区朝阳北路分公司",
                "code": "PEK2T034",
                "lat": 39.929318,
                "lng": 116.572082,
                "phone": "010-58778078",
                "logistCode": "N北京3",
                "delivery": "Y",
                "pickUpSelf": "Y",
                "driverDistance": 13976,
                "driverDistanceText": "14公里"
            },
            {
                "address": "北京市昌平区半截塔村西行1000米路南九台路甲八号(立汤路与太平庄北街交叉口西行3公里)",
                "name": "北京朝阳区北苑路分公司",
                "code": "PEK2T005",
                "lat": 40.051247,
                "lng": 116.423957,
                "phone": "010-56287969/56288960",
                "logistCode": "N北京4",
                "delivery": "Y",
                "pickUpSelf": "Y",
                "driverDistance": 14318,
                "driverDistanceText": "14.3公里"
            }
        ]
    },
    "errorCode": "1000",
    "errorMessage": "成功"
}