Skip to main contentSkip to navigationSkip to search
Skip to main content
Learning Hub/Explorer
Back

Hub Client Info

OCPI 2.2.1
Overview

Hub Client Info lets parties connected to a hub see which other parties are online, so a CPO knows which EMSPs it can reach and the other way round. The hub owns the data and pushes a ClientInfo object to each connected party whenever a party changes status, and a party can also GET the full list from the hub to resync.

Who sends

Hub

Who receives

Connected parties (CPO, EMSP)

Key Fields
FieldTypeDescription

party_id

CiString(3)

Party ID of the connected party

country_code

CiString(2)

Country the connected party operates in

role

Role

The role of the connected party

status

ConnectionStatus

CONNECTED, OFFLINE, PLANNED, or SUSPENDED

last_updated

DateTime

When this ClientInfo last changed

Endpoints
GET

/ocpi/2.2.1/clientinfo/

GET

/ocpi/2.2.1/clientinfo/{country_code}/{party_id}

PUT

/ocpi/2.2.1/clientinfo/{country_code}/{party_id}

Live Endpoint Tester

Send requests directly to the local backend and see the response.

Skip to main content