GET /api/driver/{id}
GET
/api/driver/{id}
curl \
-X GET https://api-dev.gatego.io/api/driver/{id}
Response examples (200)
{
"id": 42,
"name": "string",
"license": "string",
"license_expiration": "2022-03-10T16:15:50Z",
"truck_id": 42,
"truck_number": "string",
"truck_carrier": {
"id": 42,
"name": "string",
"fleet_id": "string",
"scac": "string",
"usdot": "string",
"rfc": "string",
"email": "string",
"address": "string",
"created_by": "string",
"created_at": "2022-03-10T16:15:50Z",
"last_modified_by": "string",
"last_modified_at": "2022-03-10T16:15:50Z"
},
"license_picture": {
"id": 42
},
"license_picture_id": 42,
"safety_card_picture_id": 42,
"active": true,
"carrier": {
"id": 42,
"name": "string",
"fleet_id": "string",
"scac": "string",
"usdot": "string",
"rfc": "string",
"email": "string",
"address": "string",
"created_by": "string",
"created_at": "2022-03-10T16:15:50Z",
"last_modified_by": "string",
"last_modified_at": "2022-03-10T16:15:50Z"
},
"created_at": "2022-03-10T16:15:50Z",
"last_modified_at": "2022-03-10T16:15:50Z"
}