Connect vehicle
Link vehicles
Connects the provided list of vehicles from the vendor account to the Energy Hub Alliance.
POST
/
v1.0.0
/
link
/
users
/
{userId}
/
vendor-accounts
/
{vendorAccountId}
/
vehicles
Authorizations
X-API-KEY
string
headerrequiredApiKey used for authorization and authentication
Path Parameters
userId
string
requiredUser ID
vendorAccountId
string
requiredVendor account ID
Body
application/json
Object for vehicle IDs request that should be added to the Energy Hub Alliance.
externalVehicles
string[]
requiredList of external IDs of vehicles to be linked to the Energy Hub Alliance.
Response
201 - application/json
isLinked
boolean
requiredIndicates if the vehicle is linked with the Energy Hub Alliance.
vendor
enum<string>
requiredThe vendor of the vehicle.
Available options:
TESLA
, MERCEDES
, BMW
, MINI
, VW
, AUDI
name
string
requiredThe display name of the vehicle.
externalId
string
requiredID of the vehicle in external vendor system.
vin
string
requiredThe vehicle identification number (VIN).
id
string
requiredThe ID of the vehicle.