Returns data for a driver. The number used in the URL path can be the truck driver’s license number or truck driver number.
| Code | Description |
|---|---|
| 400 | Bad Request. |
| 404 | Resource Not Found. |
| 500 | Internal Server Error. |
curl "https://app.octopi.co/api/v1/truck_drivers/123.json" -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=YOURTOKEN"
{
"id": 123,
"fullname": "Adena Bergnaum",
"license_number": "ABC529",
"twic": "",
"number": "56",
"active": true,
"date_of_birth": null,
"telephone_number": "",
"email": "adena.bergnaum@gmail.com",
"remarks": "Best driver in town",
"trucking_company": "Blue Trucks",
"allowed_until": null,
"created_at": "2020-05-01T11:33:23Z",
"updated_at": "2023-08-10T12:36:03Z"
}