This endpoint facilitates retrieving tracking events and milestones linked to your booking.

get/trackCOPY

Request

  • Base URL
    https://api.cargoai.co/solutions
  • URL
    https://api.cargoai.co/solutions/trackCOPY
  • Auth
    API key in header x-api-key

Query parameters

awbstring

AWB prefix and number — required to get updates on tracking milestones

flight-uuidstring

flightUUID used during booking creation — required to get updates on booking, flight itinerary and shipment details

Headers

x-api-keystring required

Request body

unknown required

Response

200

OR
OR
OR

Example response

[
  {
    "awb": "000-00062462",
    "weight": "170.00",
    "volume": "1.58",
    "pieces": "1",
    "origin": "CDG",
    "destination": "ATL",
    "events": [
      {
        "code": "BKD",
        "eventDate": "2024-04-05T08:46:29+02:00",
        "eventLocation": "CDG",
        "eventLocationCoord": "2.54999995,49.01279831",
        "flight": {
          "number": "00768",
          "origin": "CDG",
          "destination": "ATL",
          "originCoord": "2.54999995,49.01279831",
          "destinationCoord": "-84.42810059,33.63669968",
          "date": "2024-04-05T08:46:29+02:00",
          "scheduledDeparture": "2024-04-17T13:00:01+02:00",
          "estimatedDeparture": "2024-04-17T13:00:01+02:00",
          "actualDeparture": "2024-04-17T13:00:01+02:00",
          "scheduledArrival": "2024-04-18T01:00:01-04:00",
          "estimatedArrival": "2024-04-18T01:00:01-04:00",
          "actualArrival": "2024-04-18T01:00:01-04:00",
          "carbonEmission": "550.74 kg (est)",
          "distance": "7055.73",
          "duration": "7h 50m 22s"
        },
        "weight": "170.00",
        "volume": "1.58",
        "pieces": "1",
        "distance": "7055.73",
        "origin": "CDG",
        "destination": "ATL",
        "time": "7h 50m 22s",
        "flightNumber": "00768",
        "scheduledDepartureDate": "2024-04-17T13:00:01+02:00",
        "carbonEmission": "550.74 kg (est)",
        "originCoord": "2.54999995,49.01279831",
        "destinationCoord": "-84.42810059,33.63669968"
      }
    ],
    "status": "IN_TRANSIT",
    "originCoord": "2.54999995,49.01279831",
    "destinationCoord": "-84.42810059,33.63669968",
    "carbonEmission": "550.74 kg (est)",
    "distance": "7055.73",
    "time": "7h 50m 22s"
  }
]

Changes