Returns movements for a particular container.

Supported Formats

json

Errors

Code Description
404 Not found.
500 Server Error.

Examples

curl "https://app.octopi.co/api/v1/containers/:container_number/movements.json?arrival_voyage_number=1100SB" -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=YOURTOKEN"
{
    "movements": [
        {
            "movement_type": "manifest",
            "moved_at": "2017-10-21T14:26:35Z",
            "bill_of_lading_numbers": [
              "BAQPEV17549",
              "BAQPEV17550",
              "BAQPEV17551"
            ],
            "user": {
                "name": null,
                "email": null
            },
            "status": "full",
            "source_type": "ShippingLine",
            "source": {
                "name": "ANTILLEAN MARINE SHIPPING  CORP"
            },
            "destination_type": "Voyage",
            "destination": {
                "name": "Voyage: Tango III 055S"
            },
            "container": {
                "number": "123"
            },
            "original_container_seal": ["123"],
            "new_container_seals": [
              "123",
              "456"
            ],
            "stuffed_container_seals": [
              "123",
              "456"
            ],
            "truck": {
                "license_plate": null,
                "number": null,
                "trucking_company": {
                    "name": null
                }
            },"arrival_voyage": {
              "id":12213,
              "number":"410 S",
              "status":"departed",
              "last_port_of_call": {
                "name":"MIAMI",
                "locode":"USMIA"
              },
              "next_port_of_call":{
                "name":null,
                "locode":null
              },
              "captain":{
                "name":""
              },
              "agent":{
                "name":null
              },
              "number_of_tug_boats":0,
              "arrival_number_of_tug_boats":null,
              "departure_number_of_tug_boats":0,
              "estimated_time_of_anchorage":"2017-12-20T08:00:00Z",
              "actual_time_of_anchorage":"2017-12-20T11:30:00Z",
              "actual_time_of_pilot_boarded":"2017-12-20T12:56:00Z",
              "actual_time_of_berth":"2017-12-20T13:38:00Z",
              "actual_time_of_customs_clearance":"2017-12-20T14:20:00Z",
              "actual_time_of_departure":"2017-12-21T01:55:00Z",
              "closing_comments":null,
              "display_name":"Habib Express 410 S",
              "actual_time_of_departure_pilot_boarded":"2017-12-21T01:50:00Z",
              "estimated_time_of_departure":null,
              "created_at":"2017-12-18T14:26:56Z",
              "updated_at":"2017-12-21T15:47:52Z",
              "ship":{
                "name":"Habib Express",
                "imo":"9196230",
                "call_sign":"3FGW5",
                "vessel_type":"Container",
                "loa":"90.6m × 13.85m",
                "flag":null,"gross_tonnage":2035,
                "net_tonnage":0
              },
              "vessel":{
                "name":"Habib Express",
                "imo":"9196230",
                "call_sign":"3FGW5",
                "vessel_type":"Container",
                "loa":"90.6m × 13.85m",
                "flag":null,
                "gross_tonnage":2035,
                "net_tonnage":0
              },
              "assigned_berth_area":{
                "name":"NORTH PIER B1"
              },
              "assigned_yard_area":{
                "name":null
              },
              "discharge_terminal":{
                "name":"CPS Yard"
              },
              "arrival_pilot":{
                "name":null
              },
              "departure_pilot":{
                "name":null
              },
              "tax_date":null
            }
          }
        }
      ]
    }

Params

Param name Description
container_number
required

Validations:

  • Must be a String

arrival_voyage_number
optional

Validations:

  • Must be a String