Skip to main content

Get details of a specific vehicle

GET 

/company/vehicles/:id

Endpoint to retrieve the complete information of a specific vehicle in the fleet, identified by its unique ID.

Use Cases:

  • View all data for a particular vehicle
  • Verify information before an update
  • Obtain image URLs for display in interfaces

Example of a successful response:

{
vehicle: {
id: veh_123456789,
license_plate: ABC1234,
type: type_987654321,
brand: Volvo,
model: FH16,
year: 2022,
images: [
https://storage.example.com/vehicles/abc123.jpg,
https://storage.example.com/vehicles/abc123_side.jpg
],
created_at: 2023-01-15T10:30:00Z,
updated_at: 2023-01-15T10:30:00Z
}
}

Request

Responses

Vehicle details obtained successfully.