Asset hierarchy
The chargecloud OS models charging infrastructure as a seven-level asset hierarchy rooted at the Location. A child asset references its parent by the parent’s numericid, so parents must be created before their children.
The relationships form a tree — they are not a single straight line:
In the API, the Connector asset type is the
plugs resource (/api/v1/assets/plugs). The
Meter attaches to the Charging Point (chargepoint_id), alongside the Connector rather than
beneath it. Parking is optional and attaches directly to the Location.1
Location — POST /api/v1/assets/locations
The top-level asset. Defines the physical site: address, GPS coordinates, CPO identity (
operator_id), and the publish flag that controls publication to OCPI roaming networks and EV maps.Returns location.id: required as location_id for the next steps.2
Controller — POST /api/v1/assets/controllers
The OCPP hardware gateway. Links the physical device to a Location and registers manufacturer, software, and communication settings used for command routing.Requires
location_id. Returns controller.id.3
Charging Station — POST /api/v1/assets/stations
The physical charging station as it appears to the driver. Defines model, manufacturer, and the
export flag that controls whether the station is published to roaming networks and EV maps.Requires location_id and controller_id. Returns station.id.4
Charging Point (EVSE) — POST /api/v1/assets/chargepoints
A single EVSE with its own
evse_id. Defines access type and roaming participation at outlet level. One charging station can have multiple charging points.Requires location_id, controller_id, and station_id. Returns chargepoint.id and evse_id.5
Connector — POST /api/v1/assets/plugs
The physical plug. Sets plug type (
type_id), phase, and electrical specifications (ampere, voltage, max_power). One charging point supports multiple connectors.Requires chargepoint_id. Returns plug.id.6
Meter — POST /api/v1/assets/meters
The billing and energy measurement device, identified by serial number and meter type. The chargecloud OS uses Meter data for session rating and invoice generation.Requires
chargepoint_id. Returns meter.id.7
Parking (optional) — POST /api/v1/assets/parking
An optional parking bay associated with a Location. Use it to model parking restrictions, time limits, or vehicle constraints independently of the charging tariff. Not required for standard charging station setups.Requires
location_id. Returns parking.id.Registration flow
Authenticate once against the chargecloud IDP to obtain a Bearer token, then register each asset, passing the parent’sid into each child. Once all assets are registered, verify the setup with a GET to confirm EVSE IDs and roaming status before going live. For authentication details, see the Authentication page.
1 · Authenticate
2 · Register Location
201 Created
3 · Register the remaining assets
4 · Verify setup