Menu
Home Template Basics Find Shipments

Find Shipments

To use this GET request you will need to following information

  • a-api-key provided by Gatehouse
  • token retrieved from /authentication/login

Request

Retrieving shipments only requires the above properties to be used correctly. After obtaining them you can retrieve all the shipments by appending this /shipments to the endpoint URL

Response

Correct usage results in 200 response (created) in the format shown below

The request has succeeded. The meaning of the success depends on the HTTP method:
– GET: The resource has been fetched and is transmitted in the message body.

[
  {
    "id": integer, 
    "shipment_id": string, 
    "shipper_id": integer, 
    "carrier_scac": string, 
    "container_number": string, 
    "bill_of_lading": string, 
    "shipment_name": string, 
    "planned_begin": string, 
    "planned_end": string, 
    "place_of_origin": string, 
    "port_of_loading": string, 
    "port_of_destination": string
  },
  ...
]

Example – List of locodes

[
  {
    "id": 428, 
    "shipment_id": "8944##Oz2277", 
    "shipper_id": 8944, 
    "carrier_scac": "jwiL", 
    "container_number": "tXC62348522", 
    "bill_of_lading": "ATw71129", 
    "shipment_name": "Jacob Clark", 
    "planned_begin": "1981-09-23T09:29:54", 
    "planned_end": "1990-03-28T18:50:49", 
    "place_of_origin": "fUaPB", 
    "port_of_loading": "JKZjT", 
    "port_of_destination": "nOnFQ"
  },
  ...
]
Updated on 05 May, 2021