
| 接口环境 | 接口地址 |
|---|---|
| 正式环境 | https://apis.speedaf.com/ |
| 测试环境 | https://uat-api.speedaf.com/ |
接口地址:https://uat-api.speedaf.com/open-api/network/threeSectionsCode/getByAddress?appCode=你的appCode×tamp=当前时间戳
请求方式:POST
请求数据类型:application/json
接口描述:
请求参数示例:
{ "billCode": "NG021044768XX", "countryCode":"NG", "provinceName":"Lagos", "cityName":"Badagry", "distinctName":"test", "address":"test", "blCod": false}请求参数描述:
| 参数名称 | 参数说明 | 是否必须 | 数据类型 | 备注 |
|---|---|---|---|---|
| billCode | 运单号 | false | string | 推荐传入速达非运单号 |
| countryCode | 国家编码 | true | string | GH,NG,KE,MA |
| provinceName | 省 | false | string | |
| cityName | 市 | false | string | |
| distinctName | 区 | false | string | |
| address | 详细地址 | true | string | 不能为空 |
| blCod | 是否cod | false | boolean | cod > 0 传true,不传默认false |
响应状态:
响应参数示例:
xxxxxxxxxx{ "threeSectionsCode": "010-013-022", "siteCode": "233108", "siteName": "Accra HUB Site"}响应参数描述:
| 参数名称 | 参数说明 | 类型 | 备注 |
|---|---|---|---|
| threeSectionsCode | 三段码 | string | |
| siteCode | 网点编码 | string | |
| siteName | 网点名称 | string |
接口地址:/open-api/network/threeSectionsCode/getByBillCode?appCode=你的appCode×tamp=当前时间戳
请求方式:POST
请求数据类型:application/json
接口描述:
请求参数示例:
xxxxxxxxxx{ "billCode":"77130065353256"}请求参数描述:
| 参数名称 | 参数说明 | 是否必须 | 数据类型 | 备注 |
|---|---|---|---|---|
| billCode | 运单号 | true | string | 不能为空 |
响应状态:
响应参数示例:
xxxxxxxxxx{ "threeSectionsCode": "010-013-022", "siteCode": "233108", "siteName": "Accra HUB Site"}响应参数描述:
| 参数名称 | 参数说明 | 类型 | 备注 |
|---|---|---|---|
| threeSectionsCode | 三段码 | string | |
| siteCode | 网点编码 | string | |
| siteName | 网点名称 | string |