Skip to main content
POST
Add Charger
Attaches an existing charger to the specified location using its identity and pincode.
string
required
The UUID of the location.
string
required
The OCPP identity of the charger to attach. Maximum 255 characters.
string
required
The pincode of the charger (4–8 digits), as printed on the charger. Send it as a string so any leading zeros are preserved.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.
string
The unique UUID of the charger.
integer
The numeric ID of the charger.
string
The charger’s OCPP identity string.
string
The charger’s serial number. May be null.
string
The charger’s pincode. Only included when the authenticated user has sensitive access to the charger.
string
A custom reference label for the charger. May be null.
string
The current connection status of the charger.
string
The current OCPP status of the charger.
string
The current error code, if any. May be null.
string
Additional error information. May be null.
string
The vendor identifier. May be null.
string
A vendor-specific error code. May be null.
string
The raw firmware version string. May be null.
string
The parsed and normalized firmware version. May be null.
string
The OCPP server the charger is connected to. May be null.
string
ISO 8601 timestamp of the last connection. May be null.
string
ISO 8601 timestamp of the last disconnection. May be null.
string
ISO 8601 timestamp of the last heartbeat. May be null.
boolean
Whether the charger has a pending setup operation.
boolean
Whether the charger has completed initial setup.
boolean
Whether the charger is blocked.
integer
The maximum current in amps.
object
The charger’s active licenses.
integer
The ID of the charger model. May be null.
object
The charger model details. Only included when the model relationship is loaded.
object
The internal model details. Only included when the internal model relationship is loaded, otherwise null.
boolean
Whether the charger is MID-certified, derived from its internal or public model. May be null.
object
The authenticated user’s permissions for this charger.
array
An array of connector objects for this charger. Only included when the connectors relationship is loaded.
string
ISO 8601 timestamp of when the charger was created.
string
ISO 8601 timestamp of when the charger was last updated.