GET /api/truck/{truckId}/inspections

GET /api/truck/{truckId}/inspections

Path parameters

  • truckId integer(int64) Required

Query parameters

  • type string

    Values are TIRE, CTPAT, CONDITION, or ISSUE.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id integer(int64)
    • inspection_type string
    • truck_id integer(int64)
    • truck_number string
    • trailer_id integer(int64)
    • trailer_number string
    • yard_movement_id integer(int64)
    • created_at string(date-time)
    • last_modified_at string(date-time)
    • inspection_content array
  • 401

    Not Authorized

  • 403

    Not Allowed

GET /api/truck/{truckId}/inspections
curl \
 --request GET 'https://api-dev.gatego.io/api/truck/{truckId}/inspections'
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": []
  }
]