Create vehicle
POST/api/v2/vehicle
Creates a vehicle for further route optimization. The vehicle definition can override some global parameters.
A vehicle can be created by using a vehicle type, specifying the model URI in the vehicle_type field. In this case, all settings from the vehicle type will be applied to the vehicle.
However, if a linked vehicle_type has been changed, the settings will not be automatically populated to the vehicle.
In addition, a vehicle will also get a default label applied to it with the vehicle_type.name value. This is useful for automating constraints of accepted vehicle types for bookings or operations locations.
Request
Responses
- 200
Returns a vehicle object created