Skip to main content
POST
/
api
/
vehicle
Add Vehicle
curl --request POST \
  --url https://api.app.fleetit.com/api/vehicle/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "lessee_renter": null,
  "plate_number": "",
  "plate_state": "",
  "tracking_code": "",
  "vehicle_make": "",
  "vehicle_model": null,
  "year": ""
}
'
{
  "history": {
    "date": "2023-06-29T13:37:28.602Z",
    "username": ""
  },
  "id": "",
  "lessee_renter": null,
  "plate_number": "",
  "plate_state": "",
  "status": "",
  "tracking_code": "",
  "vehicle_make": "",
  "vehicle_model": null,
  "year": ""
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
lessee_renter
unknown
plate_number
string
Example:

""

plate_state
string
Example:

""

tracking_code
string
Example:

""

vehicle_make
string
Example:

""

vehicle_model
unknown
year
string
Example:

""

Response

201 - application/json

Add Vehicle Response

history
object
id
string
Example:

""

lessee_renter
unknown
plate_number
string
Example:

""

plate_state
string
Example:

""

status
string
Example:

""

tracking_code
string
Example:

""

vehicle_make
string
Example:

""

vehicle_model
unknown
year
string
Example:

""