获取包裹轨迹信息


GET http://openapi.ck1info.com/v1/trackings/{trackingNumber}?lang={lang}
接口说明: 获取包裹轨迹信息

输入参数

URI Parameters
名称类型格式要求是否必须描述示例值
trackingNumber string

None.

必须

跟踪号或处理号

lang string

Default value is zh

默认是中文轨迹"zh",英文轨迹"en"

返回结果

名称类型格式要求是否必须描述示例值
TrackingNumber string

None.

跟踪号或处理号

CZN190507LINJ000023

PackageId string

None.

参考号

HY_220912COZJ1001207

ProviderTrackingNumber string

None.

承运商跟踪号

RV904663280CN

ShippingProvider string

None.

承运商(已过时)

DHL

TrackingStatus TrackingStatus

None.

轨迹状态:Processing、InTransit、Delivered

Delivered

Checkpoints Collection of CheckpointDto

None.

轨迹节点信息列表

Country string

None.

目的国(已过时)

EstimatedDelivery string

None.

预计妥投日期(2022-06-01)

Destination Address

None.

目的地

Origin Address

None.

起始地

CarrierInfo Carrier

None.

承运商信息

PlateType string

None.

打板类型

TransitPorts Collection of TransitPort

None.

中转港口信息

ClientGroupSumList Collection of ClientGroupSum

None.

包裹统计

返回结果的json形式
{
  "TrackingNumber": "sample string 1",
  "PackageId": "sample string 2",
  "ProviderTrackingNumber": "sample string 3",
  "ShippingProvider": "sample string 4",
  "TrackingStatus": "PickUp",
  "Checkpoints": [
    {
      "LocationAddress": {
        "Country": "sample string 1",
        "Province": "sample string 2",
        "City": "sample string 3",
        "Street1": "sample string 4",
        "Street2": "sample string 5",
        "Postcode": "sample string 6"
      },
      "Location": "sample string 1",
      "TrackingStatus": "PickUp",
      "Message": "sample string 2",
      "DateTime": "sample string 3",
      "TimeZone": "sample string 4",
      "TrackingId": "sample string 5",
      "Extended": "sample string 6",
      "Carrier": "sample string 7"
    },
    {
      "LocationAddress": {
        "Country": "sample string 1",
        "Province": "sample string 2",
        "City": "sample string 3",
        "Street1": "sample string 4",
        "Street2": "sample string 5",
        "Postcode": "sample string 6"
      },
      "Location": "sample string 1",
      "TrackingStatus": "PickUp",
      "Message": "sample string 2",
      "DateTime": "sample string 3",
      "TimeZone": "sample string 4",
      "TrackingId": "sample string 5",
      "Extended": "sample string 6",
      "Carrier": "sample string 7"
    }
  ],
  "Country": "sample string 5",
  "EstimatedDelivery": "sample string 6",
  "Destination": {
    "Country": "sample string 1",
    "Province": "sample string 2",
    "City": "sample string 3",
    "Street1": "sample string 4",
    "Street2": "sample string 5",
    "Postcode": "sample string 6"
  },
  "Origin": {
    "Country": "sample string 1",
    "Province": "sample string 2",
    "City": "sample string 3",
    "Street1": "sample string 4",
    "Street2": "sample string 5",
    "Postcode": "sample string 6"
  },
  "CarrierInfo": {
    "Company": "sample string 1",
    "Url": "sample string 2",
    "Phone": "sample string 3"
  },
  "PlateType": "sample string 7",
  "TransitPorts": [
    {
      "Code": "sample string 1",
      "ETA": "sample string 2",
      "ETD": "sample string 3",
      "STA": "sample string 4",
      "STD": "sample string 5"
    },
    {
      "Code": "sample string 1",
      "ETA": "sample string 2",
      "ETD": "sample string 3",
      "STA": "sample string 4",
      "STD": "sample string 5"
    }
  ],
  "ClientGroupSumList": [
    {
      "SumType": "sample string 1",
      "CalWeightKg": 2,
      "WeightKg": 3,
      "DimWeightKg": 4,
      "PackageCount": 5
    },
    {
      "SumType": "sample string 1",
      "CalWeightKg": 2,
      "WeightKg": 3,
      "DimWeightKg": 4,
      "PackageCount": 5
    }
  ]
}