latestSwagger 2.02026-08-084062117.9 KB

78fc4b609513

Drivers

CREATE driver state history entry

Adds an entry to the driver state history. This cannot be added on the same day as an existing entry. If the driver is archived, any fuel card or vehicle assignments associated with this driver will be automatically ended on the archive date.

post/v1/drivers/{uuid}/stateHistory

Path parameters

uuidstring uuid required

Request body

datestring date
state'ACTIVE' | 'INACTIVE' | 'LEAVE'

Response

Successful operation.

uuidstring uuid
driverUuidstring uuid
state'ACTIVE' | 'INACTIVE' | 'LEAVE'