Supported Formats

json

Errors

Code Description
404 Resource Not Found
422 Validation Error
500 Internal Server Error

Examples

curl 'https://app.octopi.co/api/v1/container_weights/ID.json' \
  -X 'GET' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Token token=YOURTOKEN'
{
  "id": 123,
  "user": "John Doe",
  "container_id": 5281925,
  "container_number": "TEST7607347",
  "movement_id": 24491960,
  "declared_weight_kg": 40000,
  "verified_weight_kg": 40000,
  "reported_during": "Container Weight",
  "created_at": "2024-02-21T14:54:06.000-05:00",
  "event_created_at": "2024-02-21T14:55:06.000-05:00",
  "arrival_voyage_id": 123552,
  "arrival_voyage_number": "101S",
  "container_weight_receipt_url": "https://app.octopi.co/container_weights/123/print"
}

Params

Param name Description
id
required

Octopi ID of container weight.

Validations:

  • Must be a Integer