Roam OCPI Sessions Module
Roam OCPI sessions are push-only and do not send PATCH updates during ongoing charging sessions.
Sessions module adjustments
| Deviation | Roam OCPI solution |
|---|---|
| PULL not supported | Plugsurfing only supports pushing sessions |
| Charging periods | Not patched during the session, only added to the CDR |
Patch of sessions
When receiving kWh data for ongoing sessions from CPOs, we share those through a PATCH on the session object so that you can see the incremental kWh data shared during the session.
These updates will be delivered as PATCH requests with the following structure:
{
"kwh": 44.4,
"last_updated": "2026-05-27T13:26:00.435Z"
}With this enhancement, the session lifecycle will be as follows:
- PUT – Sent when a session starts (unchanged)
- PATCH – Sent whenever the session kWh value is updated
- PATCH – Additional updates may be sent as the session progresses
- PUT – Sent when the session stops (unchanged)
In the production environment, these updates will be available on all chargers where the Charge Point Operator supports and sends kWh updates.