Skip to main content

Get available vehicle types

GET 

/company/vehicles/types

Endpoint to list all vehicle types configured in the system. These types are used when creating or updating vehicles.

Use cases:

  • Display options when creating a new vehicle
  • Filter vehicles by type
  • Obtain metadata about load capacities

Example of a successful response:

{
types: [
{
id: type_987654321,
name: Truck,
description: Articulated truck with a load capacity of 40 tons,
created_at: 2022-05-10T08:30:00Z,
updated_at: 2022-05-10T08:30:00Z
},
{
id: type_123456789,
name: Van,
description: Delivery van with a capacity of 3 tons,
created_at: 2022-05-10T08:30:00Z,
updated_at: 2022-06-15T14:20:00Z
}
]
}

Responses

Vehicle type list successfully obtained.