vehicles

Create vehicle

Adds a vehicle type to the catalog. How many units you have is set on a fleet. Returns 403 with reason: "max_vehicles" when the plan's catalog is full.

post/vehicles

Request

  • Base URL: https://api.vepathos.com
  • URL: https://api.vepathos.com/vehicles
  • Auth: API key in header Authorization

Request body

namestring required

Display name.

volumeinteger nullable

Cargo volume capacity, in volume_unit. Integer.

volume_unit'CUBIC_CENTIMETER' | 'CUBIC_METER' | 'LITER' | 'CUBIC_INCH' | 'CUBIC_FEET' | 'GALLON'
weightinteger nullable

Maximum payload, in weight_unit. Integer.

weight_unit'GRAMS' | 'KILOGRAMS' | 'OUNCES' | 'POUNDS'
consumptioninteger nullable

Fuel or energy consumption, in consumption_unit. Integer.

consumption_unit'LITERS_PER_100KM' | 'KILOMETERS_PER_LITER' | 'MILES_PER_GALLON' | 'GALLONS_PER_MILE'
category_type'TRUCK' | 'VAN' | 'PICKUP' | 'MOTORCYCLE' | 'BICYCLE'
engine_type'GASOLINE' | 'DIESEL' | 'CNG' | 'ELECTRIC' | 'HYBRID' | 'MECHANIC'

Response

The created vehicle.

namestring required

Display name.

volumeinteger nullable

Cargo volume capacity, in volume_unit. Integer.

volume_unit'CUBIC_CENTIMETER' | 'CUBIC_METER' | 'LITER' | 'CUBIC_INCH' | 'CUBIC_FEET' | 'GALLON'
weightinteger nullable

Maximum payload, in weight_unit. Integer.

weight_unit'GRAMS' | 'KILOGRAMS' | 'OUNCES' | 'POUNDS'
consumptioninteger nullable

Fuel or energy consumption, in consumption_unit. Integer.

consumption_unit'LITERS_PER_100KM' | 'KILOMETERS_PER_LITER' | 'MILES_PER_GALLON' | 'GALLONS_PER_MILE'
category_type'TRUCK' | 'VAN' | 'PICKUP' | 'MOTORCYCLE' | 'BICYCLE'
engine_type'GASOLINE' | 'DIESEL' | 'CNG' | 'ELECTRIC' | 'HYBRID' | 'MECHANIC'

Changes

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