latestSwagger 2.02026-08-084062117.9 KB

78fc4b609513

Vehicle usages

CREATE a new vehicle usage entry

Adds a new usage entry for the given vehicle. This will be validated and added to the vehicle's usage history asynchronously. The entry will appear in the history with usageSource == MANUAL_FLEET_MANAGER. Distance values must be provided in kilometres.

post/v1/vehicles/{uuid}/usages

Path parameters

uuidstring uuid required

Request body

usageType'DISTANCE' | 'OPERATING_HOURS'
usageValuenumber
datestring date-time

Response

Successful operation.

usageType'DISTANCE' | 'OPERATING_HOURS'
usageValuenumber
datestring date-time
vehicleUuidstring uuid