CPO · Network

No OAuth-enabled endpoints in this section. Turn off the OAuth filter in the sidebar to see all of its endpoints.

ROADNetwork module
Non-standard CPO endpoints through which an eMSP asks how many locations its agreements cover (GET /network) and how many of them a pricing restriction would refuse, and why (POST /network with the rule). Counts over the indexed locations; the judgement mirrors the pricing facts Road forwards on real-time authorisation. POST needs location pricing on authorisation enabled for the connection.
Not part of the OCPI specification. Available on every connection.
GET/cpo/2.1.1/network

Count the eMSP's locations

Responses
200OCPI response envelope application/json
dataobject
locationsobject
totalinteger <int64>
blockedinteger <int64>
partially_blockedinteger <int64>
by_reasonobject
price_per_kwhinteger <int64>
price_per_hourinteger <int64>
unknown_priceinteger <int64>
unjudgedobject
other_currencyinteger <int64>
no_priceinteger <int64>
unratedinteger <int64>
computed_atstring
status_codeinteger
status_messagestring
timestampstring
401Missing or invalid OCPI token
No response body.
POST/cpo/2.1.1/network

Count the impact of a pricing rule

Request
Request bodyREQUIREDapplication/json
pricingobject
currencystring
max_price_per_kwhnumber <double>
max_price_per_hournumber <double>
block_when_unknownboolean
min_sample_sizeinteger
max_unreliable_sharenumber <double>
publishing_modesstring[]
Responses
200OCPI response envelope application/json
dataobject
locationsobject
totalinteger <int64>
blockedinteger <int64>
partially_blockedinteger <int64>
by_reasonobject
price_per_kwhinteger <int64>
price_per_hourinteger <int64>
unknown_priceinteger <int64>
unjudgedobject
other_currencyinteger <int64>
no_priceinteger <int64>
unratedinteger <int64>
computed_atstring
status_codeinteger
status_messagestring
timestampstring
401Missing or invalid OCPI token
No response body.