Fuel Types

Create Fuel Type

Creates a new Fuel Type

post/fuel_types

Request

Request body

namestring required

The name of the Fuel Type. Must be unique.

Response

OK

idinteger
created_atstring date-time

The date and time at which this record was created.

updated_atstring date-time

The date and time at which this record was most recently updated.

account_idinteger required
namestring required

The name of the Fuel Type. Unique within the Account.

vehicles_countinteger required

The number of Vehicles that have used this Fuel Type.

fuel_entries_countinteger required

The number of Fuel Entries that have used this Fuel Type.

Example response

{
  "created_at": "2023-03-14T13:46:27-06:00",
  "updated_at": "2023-03-14T13:46:27-06:00"
}

Changes

No recorded changes to this operation across all 6 revisions of this API.