MSP · Tariffs
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.
- Remapped party identitycountry_code, party_id and EVSE ids on locations, tariffs and CDRs can differ from those of the party that created them. Road rewrites them according to rules set up for the connection.When not enabled: Objects keep the identity of the party that created them.
Get a tariff
Returns a single tariff the CPO pushed to the MSP.
Path parameters3
200OCPI response envelope application/json
dataobject
tariff_alt_textobject[]
elementsobject[]
price_componentsobject[]
restrictionsobject
energy_mixobject
energy_sourcesobject[]
environ_impactobject[]
ISO 3166-1 alpha-2 country code of the party that owns the object. Road can rewrite it according to the rules set up for the connection.
OCPI party id of the party that owns the object. Road can rewrite it according to the rules set up for the connection.
401Missing or invalid OCPI token
Put a tariff
Creates or replaces a tariff in the MSP's system.
Path parameters3
Request bodyREQUIREDapplication/json
tariff_alt_textobject[]
elementsobject[]
price_componentsobject[]
restrictionsobject
energy_mixobject
energy_sourcesobject[]
environ_impactobject[]
ISO 3166-1 alpha-2 country code of the party that owns the object. Road can rewrite it according to the rules set up for the connection.
OCPI party id of the party that owns the object. Road can rewrite it according to the rules set up for the connection.
200OCPI response envelope application/json
dataobject
tariff_alt_textobject[]
elementsobject[]
price_componentsobject[]
restrictionsobject
energy_mixobject
energy_sourcesobject[]
environ_impactobject[]
ISO 3166-1 alpha-2 country code of the party that owns the object. Road can rewrite it according to the rules set up for the connection.
OCPI party id of the party that owns the object. Road can rewrite it according to the rules set up for the connection.
401Missing or invalid OCPI token
Patch a tariff
Partially updates a tariff in the MSP's system.
Path parameters3
Request bodyREQUIREDapplication/json
tariff_alt_textobject[]
elementsobject[]
price_componentsobject[]
restrictionsobject
energy_mixobject
energy_sourcesobject[]
environ_impactobject[]
ISO 3166-1 alpha-2 country code of the party that owns the object. Road can rewrite it according to the rules set up for the connection.
OCPI party id of the party that owns the object. Road can rewrite it according to the rules set up for the connection.
200OCPI response envelope application/json
dataobject
tariff_alt_textobject[]
elementsobject[]
price_componentsobject[]
restrictionsobject
energy_mixobject
energy_sourcesobject[]
environ_impactobject[]
ISO 3166-1 alpha-2 country code of the party that owns the object. Road can rewrite it according to the rules set up for the connection.
OCPI party id of the party that owns the object. Road can rewrite it according to the rules set up for the connection.
401Missing or invalid OCPI token
Delete a tariff
Removes a tariff from the MSP's system.
Path parameters3
200OCPI response envelope application/json
dataobject
tariff_alt_textobject[]
elementsobject[]
price_componentsobject[]
restrictionsobject
energy_mixobject
energy_sourcesobject[]
environ_impactobject[]
ISO 3166-1 alpha-2 country code of the party that owns the object. Road can rewrite it according to the rules set up for the connection.
OCPI party id of the party that owns the object. Road can rewrite it according to the rules set up for the connection.