POST
/
fleets
/
{fleet}
/
vehicles
/
{vehicle}
curl --request POST \
  --url https://api.chargeapi.co/v1/fleets/{fleet}/vehicles/{vehicle} \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": null,
  "object": null,
  "battery_capacity": null,
  "charging_standard": null,
  "created": null,
  "drivers": null,
  "information": {
    "make": "<string>",
    "model": "<string>",
    "year": "<string>"
  },
  "metadata": null,
  "registration_plate": null,
  "status": null,
  "telemetry": null,
  "updated": null,
  "vin": null
}

Path Parameters

fleet
string
required

ID of the fleet that will receive the vehicle.

vehicle
string
required

ID of the vehicle to add.

Body

application/json · object

Response

200
application/json

Vehicle successfully added to fleet.