GET /api/truck/{truckId}/last-inspection

GET /api/truck/{truckId}/last-inspection

Path parameters

Query parameters

  • type string

    Values are TIRE, CTPAT, CONDITION, or ISSUE.

Responses

GET /api/truck/{truckId}/last-inspection
curl \
 -X GET https://api-dev.gatego.io/api/truck/{truckId}/last-inspection
Response examples (200)
{
  "id": 42,
  "inspection_type": "string",
  "truck_id": 42,
  "truck_number": "string",
  "trailer_id": 42,
  "trailer_number": "string",
  "yard_movement_id": 42,
  "created_at": "2022-03-10T16:15:50Z",
  "last_modified_at": "2022-03-10T16:15:50Z",
  "inspection_content": []
}