Chargers
Add Charger
POST
Add Charger
Attaches an existing charger to the specified location using its identity and pincode.
The pincode of the charger (4 to 8 digits), as printed on the charger. Send it as a string so any leading zeros are preserved.Required unless your team already owns the charger, for example one you created with Create Charger or removed from a location earlier.A number is also accepted for compatibility with clients that cannot send a string, in which case leading zeros are lost in transit (
00503437 becomes 503437). The pincode is matched on its significant digits, so those requests still resolve to the right charger.Response
Returns the attached charger.The charger’s pincode. Only included when the authenticated user has sensitive access to the charger.
The internal model details. Only included when the internal model relationship is loaded, otherwise
null.Whether the charger is MID-certified, derived from its internal or public model. May be
null.An array of connector objects for this charger. Only included when the connectors relationship is loaded.
Add Charger