API
WO12-1.轨迹查询(库内+尾程派送)
更新时间: 2017-11-22 18:31:18 访问次数:766
接口说明

本接口用于提供给第三方平台或是卖家自有系统集成获出库订单库内和尾程派送轨迹。

使用场景

卖家可以通过该接口实现按出库单号及快递单号查询运送运送轨迹。结合出库单查询接口可做到轨迹的批量查询。

备注

请求说明
URL http://api.winit.com.cn/ADInterface/api
接口测试 http://erp.sandbox.winit.com.cn/ADInterface/api
验证方法 Token,md5
格式 json
字符编码 UTF-8
http请求方式 http
请求数限制 默认每分钟1000,有需要可申请加大。
请求入参
名称 类型 必填 说明 示例
trackingnos String() Y 出库订单号或快递单号,批量查询时使用逗号(,)或空格分隔
请求示例
{
    "action": "tracking.getOrderVerdorTracking",
    "app_key": "rebecca",
    "data": {
        "trackingnos":"WO0089137092,WO0088709776"
    },
    "format": "json",
    "language": "zh_CN",
    "platform": "ECPP",
    "sign": "00000000000000000000000000000000",
    "sign_method": "md5",
    "timestamp": "2016-07-10 23:04:52",
    "version": "1.0"
}

                            
返回出参
名称 类型 必填 说明 示例
orderNo String() Y 出库订单号 WO0088709776
trackingNo String() Y 物流跟踪号 S7F499553701000935105
origin String() Y 收件人国家 澳大利亚
destination String() Y 收件人(目的)国家 Australia
pickupMode String() Y
status String() Y 派送状态 派送完成
vendorName String() Y 供应商名称
trace Array Y 轨迹信息列表,以下为子节点
--|type String() Y 轨迹类型 V
--|date String() Y 日期时间 2017-07-26 13:16:39
--|location String() Y 节点位置 CHULLORA NSW
--|lastEvent String() Y 是最新的轨迹信息 Y/N
--|eventCode String() Y 轨迹代码 DLC
--|eventStatus String() Y 轨迹状态 派送完成
--|eventDescription String() Y 轨迹描述 派送完成
--|operator String() Y 操作员
occurTime String() Y 时间
logisticsStatus String() Y 物流状态
logisticsMess String() Y 物流信息
airLines String() Y 航线
flight String() Y 空运
expressCompany String() Y 快速公司
carrier String() Y 承运商
返回示例
{
   "code": "0",
   "msg": "操作成功",
   "data":    [
            {
         "orderNo": "WO0088709776",
         "trackingNo": "S7F499553701000935105",
         "origin": "澳大利亚",
         "destination": "Australia",
         "pickupMode": null,
         "status": "派送完成",
         "vendorName": null,
         "trace":          [
                        {
               "type": "V",
               "date": "2017-07-28 10:48:48",
               "location": "KINGSTON QLD",
               "lastEvent": "Y",
               "eventCode": "DLC",
               "eventStatus": "派送完成",
               "eventDescription": "派送完成",
               "operator": null
            },
                        {
               "type": "V",
               "date": "2017-07-28 03:14:52",
               "location": "UNDERWOOD QLD",
               "lastEvent": "N",
               "eventCode": "SCN",
               "eventStatus": null,
               "eventDescription": "With Australia Post for delivery today",
               "operator": null
            },
                        {
               "type": "V",
               "date": "2017-07-27 07:30:39",
               "location": " ",
               "lastEvent": "N",
               "eventCode": "INF",
               "eventStatus": null,
               "eventDescription": "Shipping Information approved by Australia Post",
               "operator": null
            },
                        {
               "type": "V",
               "date": "2017-07-26 13:16:39",
               "location": "CHULLORA NSW",
               "lastEvent": "N",
               "eventCode": "SCN",
               "eventStatus": null,
               "eventDescription": "Processed through Australia Post facility",
               "operator": null
            },
                        {
               "type": "S",
               "date": "2017-07-25 17:18:58",
               "location": "AU Warehouse",
               "lastEvent": "N",
               "eventCode": "DLI",
               "eventStatus": "派送中",
               "eventDescription": "派送中",
               "operator": "system"
            },
                        {
               "type": "S",
               "date": "2017-07-25 17:18:58",
               "location": "AU Warehouse",
               "lastEvent": "N",
               "eventCode": "DIC",
               "eventStatus": null,
               "eventDescription": "发货完成",
               "operator": "system"
            },
                        {
               "type": "V",
               "date": "2017-07-25 16:15:31",
               "location": " ",
               "lastEvent": "N",
               "eventCode": "INF",
               "eventStatus": null,
               "eventDescription": "Shipping Information received by Australia Post",
               "operator": null
            },
                        {
               "type": "S",
               "date": "2017-07-25 15:31:04",
               "location": "AU Warehouse",
               "lastEvent": "N",
               "eventCode": "PAC",
               "eventStatus": null,
               "eventDescription": "打包完成",
               "operator": "lincoln.guo"
            },
                        {
               "type": "S",
               "date": "2017-07-25 15:25:14",
               "location": "AU Warehouse",
               "lastEvent": "N",
               "eventCode": "PKC",
               "eventStatus": null,
               "eventDescription": "拣选完成",
               "operator": "manson.lin"
            },
                        {
               "type": "S",
               "date": "2017-07-25 11:31:39",
               "location": "AU Warehouse",
               "lastEvent": "N",
               "eventCode": "SO",
               "eventStatus": null,
               "eventDescription": "提交订单",
               "operator": "13823023538@139.com"
            }
         ],
         "occurTime": null,
         "logisticsStatus": null,
         "logisticsMess": null,
         "airLines": null,
         "flight": null,
         "expressCompany": null,
         "carrier": null
      },
            {
         "orderNo": "WO0089137092",
         "trackingNo": "S7F499875201000935109",
         "origin": "澳大利亚",
         "destination": "Australia",
         "pickupMode": null,
         "status": "派送完成",
         "vendorName": null,
         "trace":          [
                        {
               "type": "V",
               "date": "2017-07-28 13:18:35",
               "location": "OURIMBAH NSW",
               "lastEvent": "Y",
               "eventCode": "DLC",
               "eventStatus": "派送完成",
               "eventDescription": "派送完成",
               "operator": null
            },
                        {
               "type": "V",
               "date": "2017-07-28 09:33:45",
               "location": "OURIMBAH NSW",
               "lastEvent": "N",
               "eventCode": "DA",
               "eventStatus": null,
               "eventDescription": "Awaiting collection at Australia Post",
               "operator": null
            },
                        {
               "type": "V",
               "date": "2017-07-28 09:33:44",
               "location": "OURIMBAH NSW",
               "lastEvent": "N",
               "eventCode": "SCN",
               "eventStatus": null,
               "eventDescription": "In transit to Australia Post facility",
               "operator": null
            },
                        {
               "type": "V",
               "date": "2017-07-28 05:46:25",
               "location": "NIAGARA PARK NSW",
               "lastEvent": "N",
               "eventCode": "DA",
               "eventStatus": null,
               "eventDescription": "Attempted Delivery - Customer not in attendance",
               "operator": null
            },
                        {
               "type": "V",
               "date": "2017-07-28 04:13:23",
               "location": "LISAROW NSW",
               "lastEvent": "N",
               "eventCode": "SCN",
               "eventStatus": null,
               "eventDescription": "With Australia Post for delivery today",
               "operator": null
            },
                        {
               "type": "V",
               "date": "2017-07-27 07:30:39",
               "location": " ",
               "lastEvent": "N",
               "eventCode": "INF",
               "eventStatus": null,
               "eventDescription": "Shipping Information approved by Australia Post",
               "operator": null
            },
                        {
               "type": "V",
               "date": "2017-07-25 20:58:45",
               "location": "CHULLORA NSW",
               "lastEvent": "N",
               "eventCode": "SCN",
               "eventStatus": null,
               "eventDescription": "Processed through Australia Post facility",
               "operator": null
            },
                        {
               "type": "S",
               "date": "2017-07-25 17:19:07",
               "location": "AU Warehouse",
               "lastEvent": "N",
               "eventCode": "DLI",
               "eventStatus": "派送中",
               "eventDescription": "派送中",
               "operator": "system"
            },
                        {
               "type": "S",
               "date": "2017-07-25 17:19:07",
               "location": "AU Warehouse",
               "lastEvent": "N",
               "eventCode": "DIC",
               "eventStatus": null,
               "eventDescription": "发货完成",
               "operator": "system"
            },
                        {
               "type": "V",
               "date": "2017-07-25 16:15:31",
               "location": " ",
               "lastEvent": "N",
               "eventCode": "INF",
               "eventStatus": null,
               "eventDescription": "Shipping Information received by Australia Post",
               "operator": null
            },
                        {
               "type": "S",
               "date": "2017-07-25 15:43:23",
               "location": "AU Warehouse",
               "lastEvent": "N",
               "eventCode": "PAC",
               "eventStatus": null,
               "eventDescription": "打包完成",
               "operator": "momo.hsu"
            },
                        {
               "type": "S",
               "date": "2017-07-25 14:35:40",
               "location": "AU Warehouse",
               "lastEvent": "N",
               "eventCode": "PKC",
               "eventStatus": null,
               "eventDescription": "拣选完成",
               "operator": "amber.tuan"
            },
                        {
               "type": "S",
               "date": "2017-07-25 13:09:15",
               "location": "AU Warehouse",
               "lastEvent": "N",
               "eventCode": "SO",
               "eventStatus": null,
               "eventDescription": "提交订单",
               "operator": "13823023538@139.com"
            }
         ],
         "occurTime": null,
         "logisticsStatus": null,
         "logisticsMess": null,
         "airLines": null,
         "flight": null,
         "expressCompany": null,
         "carrier": null
      }
   ]
}