批量获取包裹轨迹信息


POST https://eu-openapi.chukou1.cn:87/v1/trackings?lang={lang}
½Ó¿Ú˵Ã÷: 批量获取包裹轨迹信息,每次最多只能传入20个跟踪号

ÊäÈë²ÎÊý

URI Parameters
Ãû³ÆÀàÐ͸ñʽҪÇóÊÇ·ñ±ØÐëÃèÊöʾÀýÖµ
lang string

Default value is zh

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

Body Parameters
Ãû³ÆÀàÐ͸ñʽҪÇóÊÇ·ñ±ØÐëÃèÊöʾÀýÖµ
TrackingNumbers Collection of string

None.

±ØÐë

处理号或跟踪号,不超过20个

ÊäÈë²ÎÊýµÄjsonÐÎʽ
{
  "TrackingNumbers": [
    "sample string 1",
    "sample string 2"
  ]
}

·µ»Ø½á¹û

Ãû³ÆÀàÐ͸ñʽҪÇóÊÇ·ñ±ØÐëÃèÊöʾÀýÖµ
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
      }
    ]
  },
  {
    "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
      }
    ]
  }
]