Description
Vehicles represent a company’s fleet. Their consumptions generate emissions based on engine type and fuel.Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/vehicles | List vehicles |
| GET | /api/v1/vehicles/{id} | Get vehicle |
| POST | /api/v1/vehicles | Create or update vehicle |
| GET | /api/v1/vehicles/dashboard | Vehicle dashboard |
Required fields to create a vehicle
id,type,companyId,buildingId,licencePlate- Optional:
vehicleCategoryId,motorType,fuelTypeId,brand,model
Engine types
combustion,electric,hybrid

