This chassis API endpoint allows querying for one chassis.

Supported Formats

json

Errors

Code Description
400 Bad Request.
404 Chassis Not Found
422 Unprocessable entity
500 Internal Server Error.

Examples

curl "https://app.octopi.co/api/v1/chassis/MYCHASSIS.json" -X GET -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=ADD TOKEN HERE"
{
  "chassis": {
    "id": 12345,
    "number": "MYCHASSIS",
    "active": true,
    "owner": null,
    "size": 40,
    "equipment_condition": "Average",
    "current_location": "Terminal A",
    "container": "ABC12345",
    "damage_state": "Not damaged",
    "license_plate_number": null,
    "created_at": "2021-01-31T16:53:29Z",
    "updated_at": "2021-09-04T17:14:12Z"
  }
}