Vehicle Types

Create Vehicle Type

Creates a new Vehicle Type

post/vehicle_types

Request

Request body

namestring required

The name of the Vehicle Type. Must be unique.

defaultboolean

Whether this Vehicle Type should be the default applied to new Vehicles.

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 Vehicle Type.

defaultboolean required

Whether this Vehicle Type is the default applied to new Vehicles.

unarchived_vehicles_countinteger required

The number of unarchived Vehicles that are of this Vehicle Type.

vehicles_countinteger required

The total number of Vehicles that are of this Vehicle 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 1 revision of this API.