CPO · Tokens
No OAuth-enabled endpoints in this section. Turn off the OAuth filter in the sidebar to see all of its endpoints.
Road enables these for your connection on request.
- Additional fieldsAdds fields OCPI 2.1.1 does not define: the owning party (country_code and party_id) on every object, and extra location data such as a publish flag, charging accessibility, parking places and the details needed for national access point reporting. Sessions and CDRs also carry VAT-inclusive totals.When not enabled: Objects carry only the fields the OCPI specification defines.
Get a token
Returns a token the MSP previously pushed to the CPO.
Path parameters3
200OCPI response envelope application/json
dataobject
The token's eMI3 contract identifier.
ISO 3166-1 alpha-2 country code of the party that owns the object.
OCPI party id of the party that owns the object.
401Missing or invalid OCPI token
Put a token
Creates or replaces a token in the CPO's system.
Path parameters3
Request bodyREQUIREDapplication/json
The token's eMI3 contract identifier.
ISO 3166-1 alpha-2 country code of the party that owns the object.
OCPI party id of the party that owns the object.
200OCPI response envelope application/json
dataobject
The token's eMI3 contract identifier.
ISO 3166-1 alpha-2 country code of the party that owns the object.
OCPI party id of the party that owns the object.
401Missing or invalid OCPI token
Patch a token
Partially updates a token in the CPO's system.
Path parameters3
Request bodyREQUIREDapplication/json
The token's eMI3 contract identifier.
ISO 3166-1 alpha-2 country code of the party that owns the object.
OCPI party id of the party that owns the object.
200OCPI response envelope application/json
dataobject
The token's eMI3 contract identifier.
ISO 3166-1 alpha-2 country code of the party that owns the object.
OCPI party id of the party that owns the object.