Search Help Contents:

 


 

Topics

Home

Getting Started

Data Types

Event Codes & References

Error Codes

Best Practices

Notifications

Version Policy

API Calls

  POST /oauth2/token

  GET /health

  Shipments

  Containers

  OM Containers

    GET containers/om

    GET containers/om/{id}

    GET containers/om/{id}/events

    GET containers/om/{id}/items

   GET containers/om/exactmatch

  Consignments and Cross-Dock

 

GET containers/om/exactmatch?ref={reference}

 

Get all information for the container matching the reference when exactly one match is expected. This is equivalent to getting a container/om "id" by calling "GET containers/om" with the same reference, followed by "GET containers/om/{id}", "GET containers/om/{id}/events", and "GET containers/om/{id}/items" responses.

 

Example HTTP Request

GET tracking/v2/containers/om/exactmatch?ref=5555

Authorization: Ejr2YotnFZFEjr1zCsicMWpAAotnFZFEjr1zCsic

X-Consumer-ID: TEST_CONSUMER_ID

X-Consumer-Custom-ID: TEST_CUSTOM_CONSUMER_ID

Host: api.expeditors.com

 

Example Curl Request

$ curl 'https://api.expeditors.com/tracking/v2/containers /om/exactmatch?ref=5555' -i -X GET \

    -H 'Authorization: Ejr2YotnFZFEjr1zCsicMWpAAotnFZFEjr1zCsic' \

    -H 'X-Consumer-ID: TEST_CONSUMER_ID' \

    -H 'X-Consumer-Custom-ID: TEST_CUSTOM_CONSUMER_ID'

 

Parameters

Name

Purpose Values Required?
ref Container number URL-encoded string, 3 to 12 characters Y

 

 

Response

The response format is JSON; see Data Types - Container for data types.

 

Example Result

200 OK

Content-Type: application/json

Content-Length: 1671

[ {

  "instanceNo" : "ABC",

  "containerNumber" : "C123",

  "origin" : {

    "name" : "Seattle",

    "code" : "SAE"

  },

  "destination" : {

    "name" : "Hong Kong",

    "code" : "HKG"

  },

  "mode" : "Ocean",

  "carrier" : "test carrier",

  "size" : "1L",

  "moveType" : "test move",

  "actualDepartureDate" : "2018-01-03T13:47:00Z",

  "estimatedDepartureDate" : "2018-01-03T13:47:00Z",

  "actualArrivalDate" : "2018-01-03T13:47:00Z",

  "estimatedArrivalDate" : "2018-01-03T13:47:00Z",

  "vessel" : "test",

  "voyageNumber" : "124",

  "sealNumber" : "P",

  "serviceContractNumber" : "D2D",

  "packages" : {

    "value" : "914",

    "units" : "PKGS"

  },

  "weight" : {

    "value" : "8445.0",

    "units" : "K"

  },

  "volume" : {

    "value" : "75.440",

    "units" : "M3"

  },

  "remarks" : "test",

  "events" : [ {

    "instanceNo" : "123",

    "description" : "Liquidated",

    "time" : "2014-11-28T20:00:00Z",

    "origin" : {

      "name" : "Seattle",

      "code" : "SAE"

    },

    "destination" : {

      "name" : "Hong Kong",

      "code" : "HKG"

    }

  } ],

  "items" : [ {

    "instanceNo" : "123",

    "shipmentNumber" : "55555555",

    "order" : "456",

    "item" : "789",

    "line" : "0001",

    "description" : "description",

    "vendor" : "vendor",

    "warehouse" : "warehouse",

    "quantity" : {

      "value" : "30.00",

      "units" : "PCS"

    },

    "packages" : {

      "value" : "914",

      "units" : "PKGS"

    },

    "weight" : {

      "value" : "8445.0",

      "units" : "K"

    },

    "volume" : {

      "value" : "75.440",

      "units" : "M3"

    }

  } ]

} ]

© 2024 Expeditors International of Washington, Inc.  

All information contained herein is business confidential and proprietary and may not be reproduced in any form without advanced

written consent of an authorized officer of the copyright holder.

 

EULA - End User License Agreement