This chassis API endpoint allows querying for one chassis.
| Code | Description |
|---|---|
| 400 | Bad Request. |
| 404 | Chassis Not Found |
| 422 | Unprocessable entity |
| 500 | Internal Server Error. |
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,
"axles": 3,
"shipping_line": {
"id": 12345,
"code": "UNKN",
"name": "Unknown",
"synonyms": [],
"carrier_type": "ocean",
"address": "",
"empty_container_storage_teu_quota": null,
"email": "",
"contact_person": "",
"phone": "",
"receive_email_alerts_on_container_damages": false,
"vat_number": "",
"general_ledger_id": "",
"dock_receipt_email": ""
},
"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"
}
}