Skip to main content
POST
/
fleets
/
default
/
cars
Add cars
curl --request POST \
  --url https://partner.staging.ezprk.dev/fleets/default/cars \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "licenseNumber": "<string>"
  }
]
'
[
  {
    "error": "<string>",
    "licenseNumber": "<string>"
  }
]

Authorizations

Authorization
string
header
required

You can get the JWT from the Login endpoint.

Body

application/json

List of cars to add as array of objects where each object contains a licenseNumber key with a string value.

licenseNumber
string

Response

default - */*

List of failed license numbers with error messages

error
string
required

Error message

licenseNumber
string