Meter Entries

Update Meter Entry

Update a Meter Entry

patch/meter_entries/{id}

Request

Path parameters

idstring required

The id of the relevant record

Request body

vehicle_idinteger
valuenumber float

The value of the meter. The unit can be configured at the Account level, or overridden at the Vehicle level.

datestring date-time

Meter Entries must follow the correct sequence, incrementing in value by date. For each entry, Fleetio validates to ensure that the value falls between any entries logged before and/or after. We recommend using ISO-8601 formatted dates to avoid ambiguity.

voidboolean

Whether to mark this Meter Entry void or not. See Voiding Meter Entries.

meter_type'secondary' nullable

If this is a secondary meter reading, use this field.

If the vehicle's secondary meter is disabled, secondary meter values will be hidden in the web and mobile views until enabled.

Example request

{
  "date": "2023-03-14T13:46:27-06:00"
}

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.