Methods

  • post - Create vehicle

Resource

{
    "category": "string",
    "color": "string",
    "manufacturer": "string",
    "model": "string",
    "modelYear": "string",
    "registration": "string",
    "type": "string",
    "weight": "number"
}

Properties

Name Type Description Additional
category string

The vehicle category class

Optional
color string

The vehicle color

Optional
manufacturer string

The vehicle manufacturer

model string

The vehicle model

Optional
modelYear string

The year the vehicle was manufactured

Optional
registration string

The vehicle registration number

type string

The type of vehicle in the fleet

Possible values are:

  • Private
  • Truck
Optional
weight number

The vehicle weight in tonnes

Optional