Create vehicle

Creates a new vehicle in the fleet.

post/vehicles

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/vehicles
  • Auth: none declared

Request body

makestring
modelstring
yearinteger
fuel_tank_capacitynumber double

Maximum fuel capacity in liters

Response

Vehicle created successfully

idinteger

Vehicle identifier

makestring nullable
modelstring nullable
yearinteger nullable
fuel_tank_capacitynumber double nullable

Maximum fuel capacity in liters

Changes

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