One trip tracked under a number

Changed on

One trip from the list. Exactly one of container and events is set. A trip with a record of its own answers with container: that record's full detail, the same object GET /v1/containers/{id} serves. A trip kept on a record that moved on has no detail of its own and answers with events: the moves that happened on it, oldest first. An earlier trip is read with no side effect and is free. The current trip is the same read as GET /v1/containers/{id} and is counted the same way.

get/v1/containers/{reference}/trips/{trip_id}

Request

  • Base URL
    https://api.trackingmcp.com
  • Auth
    HTTP bearer

Path parameters

reference, string required

A container, bill of lading or booking number this account tracks or tracked, or the id of one of its records.

trip_id, string required

trip_id of a trip from the list. Opaque: store it as given.

Response

The trip.

object required
ok, true required
api_version, string

The response contract this build answers, as a date. Pin it in your client.

data, TripDetail required

Changes

    • info

      added the optional property data/container/oneOf[#/components/schemas/ContainerRecord]/line_older_trip_answer to the response with the status

    • info

      added the optional property data/container/oneOf[#/components/schemas/ContainerRecord]/other_trip to the response with the status