
| 接口环境 | 接口地址 |
|---|---|
| 正式环境 | https://apis.speedaf.com/ |
| 测试环境 | https://uat-api.speedaf.com/ |
接口地址:https://uat-api.speedaf.com/open-api/express/track/query?appCode=你的appCode×tamp=当前时间戳
请求方式:POST
请求数据类型:application/json
接口描述:
请求参数示例:
{ "mailNoList": [ "86254200001257", ]}请求参数描述:
| 参数名称 | 参数说明 | 是否必须 | 数据类型 | 备注 |
|---|---|---|---|---|
| mailNoList | 运单号列表 | true | List |
响应状态:
响应参数示例:
xxxxxxxxxx[ { "mailNo":"86254200001257", "tracks":[ { "mailNo":"86254200001257", "action":"1", "subAction":"1", "actionName":"已揽收", "message":"【LOS-WH1】已做收件扫描,收件员是【Ejalonibu Wahab】【09025119825】", "msgEng":"Parcel scanned by site", "time":"2021-05-05 21:27:34", "msgLoc":"Parcel scanned by site", "pictureUrl":"https://opa.speedaf.com/manager/file/view/63968d3f-be9a-4a92-8751-42d24e03933e.png", "timezone":8 }, ] }, ]响应参数描述:
mailNo:
| 参数名称 | 参数说明 | 类型 | 备注 |
|---|---|---|---|
| mailNo | 运单号 | string |
tracks:
| 参数名称 | 参数说明 | 类型 | 备注 |
|---|---|---|---|
| mailNo | 运单号 | string | |
| action | 父状态编码 | string | |
| subAction | 子状态编码 | string | |
| actionName | 状态名称 | string | |
| message | 轨迹中文 | string | |
| msgEng | 轨迹英文 | string | |
| msgLoc | 轨迹本地语言 | string | |
| pictureUrl | 图片URL | string | |
| time | 操作时间 | string | |
| timezone | 操作时区 | int |
接口地址:https://uat-api.speedaf.com/open-api/express/track/customer/order/query?appCode=你的appCode×tamp=当前时间戳
请求方式:POST
请求数据类型:application/json
接口描述:最多支持批量查询10个
请求参数示例:
xxxxxxxxxx{ "customerCode":"your customer code", "customerOrderNos":[ "LP811635970test", "LP815745559test" ]}请求参数描述:
| 参数名称 | 参数说明 | 是否必须 | 数据类型 | 备注 |
|---|---|---|---|---|
| customerCode | 客户编号 | true | String | |
| customerOrderNos | 客户订单号列表 | true | List | 最多支持批量查询10个客户订单号数据 |
响应状态:
响应参数示例:
xxxxxxxxxx[ { "customerCode":"LP815745559test", "tracks":[ { "action":"150", "actionName":"入库", "mailNo":"DEX-PK44439462R", "message":"[广州花都仓] [InternationalLogistics] [InternationalLo] 进行处理,订单已操作入库", "msgArab":"", "msgBd":"", "msgEng":"[广州花都仓] [InternationalLogistics] [InternationalLo] processing, order has been inbounded", "msgFre":"", "msgLoc":"[广州花都仓] [InternationalLogistics] [InternationalLo] processing, order has been inbounded", "scanSource":"SYSTEM", "subAction":"150", "time":"2022-09-28 18:12:32", "timezone":8 } ] }, { "customerCode":"LP811635970test", "tracks":[ { "action":"150", "actionName":"入库", "mailNo":"DEX-PK149028843R", "message":"[广州花都仓] [InternationalLogistics] [InternationalLo] 进行处理,订单已操作入库", "msgArab":"", "msgBd":"", "msgEng":"[广州花都仓] [InternationalLogistics] [InternationalLo] processing, order has been inbounded", "msgFre":"", "msgLoc":"[广州花都仓] [InternationalLogistics] [InternationalLo] processing, order has been inbounded", "scanSource":"SYSTEM", "subAction":"150", "time":"2022-09-28 18:12:32", "timezone":8 } ] }]响应参数描述:
mailNo:
| 参数名称 | 参数说明 | 类型 | 备注 |
|---|---|---|---|
| customerCode | 客户订单号 | string |
tracks:
| 参数名称 | 参数说明 | 类型 | 备注 |
|---|---|---|---|
| mailNo | 运单号 | string | |
| action | 父状态编码 | string | |
| subAction | 子状态编码 | string | |
| actionName | 状态名称 | string | |
| message | 轨迹中文 | string | |
| msgEng | 轨迹英文 | string | |
| msgLoc | 轨迹本地语言 | string | |
| pictureUrl | 图片URL | string | |
| time | 操作时间 | string | |
| timezone | 操作时区 | int |
其中action的枚举如下:
| Code | 描述 |
|---|---|
| 10 | 已下单 |
| -10 | 已取消 |
| 150 | 入库 |
| 181 | 集包 |
| 190 | 出库 |
| 402 | 报关 |
| 220 | 航班起飞 |
| 230 | 航班落地 |
| 360 | 清关中 |
| 401 | 清关异常 |
| 370 | 清关完成 |
| 1 | 已揽收 |
| 2 | 发件 |
| 3 | 到件 |
| 4 | 派送中 |
| 5 | 已签收 |
| -710 | 退件中 |
| 730 | 退货签收 |
| 18 | 自提件扫描 |
| 16 | 第三方代收(自提入库) |