CPO Sessions
No OAuth-enabled endpoints in this section. Turn off the OAuth filter in the sidebar to see all of its endpoints.
CPO Session Endpoints
POST/2/sessions/cpo/mine
Search My CPO Sessions
Search CPO sessions accessible to the current user.
Authorization
User sessionAPI credentialPermissions
-
OAuth
-
Request
Request bodyapplication/json
dateFieldstring
endedAtstartedAtfilenamestring
default
cpo-sessions.csvformatstring
csvjsonxlsxdefault
jsonfromstring <date-time>
limitinteger
default
100min 1max 1000000locationIdstring
monthinteger
min
1max 12paymentFlowsstring[]
searchPhrasestring
skipinteger
default
0min 0sortobjectdefault {"field":"endedAt","order":"desc"}
sortobject
default
{"field":"endedAt","order":"desc"}fieldstringREQUIRED
orderstringREQUIRED
ascdesctostring <date-time>
yearinteger
min
2000max 2100Responses
200OK application/json
dataCpoSessionResource[]REQUIRED
dataCpoSessionResource[]REQUIRED
accountobject
accountIdstring
authorizationobject
billingPlanobject
billingPlanobject
idstringREQUIRED
namestringREQUIRED
typestringREQUIRED
connectorIdnumber
createdAtstringREQUIRED
currencystringREQUIRED
dischargedKwhnumber
durationSecondsnumber
endedAtstring
evseControllerobject
evseControllerIdstring
excludedboolean
excludedReasonstring
externalCalculatedPricenumber
externalIdstring
externalProviderobject
externalProviderIdstring
externalUniqueIdstring
idstringREQUIRED
kwhnumberREQUIRED
locationobject
locationIdstring
mspLocationobject
powerTypestring
priceWithFXobject
providerobject
providerContextstringREQUIRED
providerIdstringREQUIRED
reimbursementobject
roamingIdstring
startedAtstring
statusstringREQUIRED
updatedAtstringREQUIRED
userobject
userIdstring
validityobject
vatInfoobject
metaobjectREQUIRED
metaobjectREQUIRED
limitnumberREQUIRED
skipnumberREQUIRED
totalnumberREQUIRED
400Invalid Request application/json
errorobject
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
401Unauthorized application/json
errorobject
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
404Not Found application/json
errorobject
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
500Internal server error application/json
errorobject
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
POST/2/sessions/cpo/mine/usage
Get My CPO Session Usage
Returns aggregated usage totals (sessions, kWh, duration, cost) per currency for CPO sessions accessible to the current user.
Authorization
User sessionAPI credentialPermissions
-
OAuth
-
Request
Request bodyapplication/json
locationIdstring
monthinteger
Month (1-12) to filter totals by. Only valid together with year; rejected without it.
min
1max 12paymentFlowsstring[]
yearinteger
min
2000max 2100Responses
200OK application/json
dataCPOSessionUsageTotals[]
dataCPOSessionUsageTotals[]
currencystringREQUIRED
ISO 4217 currency code the totals are denominated in
totalCostnumberREQUIRED
Total session cost in the given currency
totalDurationSecondsnumberREQUIRED
Total charging duration in seconds
totalKwhnumberREQUIRED
Total energy delivered in kWh
totalSessionsnumberREQUIRED
Number of sessions matching the filters
metaobject
metaobject
limitnumber
skipnumber
statsobject
totalnumber
400Invalid Request application/json
errorobject
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
401Unauthorized application/json
errorobject
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
404Not Found application/json
errorobject
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
500Internal server error application/json
errorobject
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
GET/2/sessions/cpo/mine/{session}
Get My CPO Session
Returns a CPO session if accessible to the current user.
Authorization
User sessionAPI credentialPermissions
-
OAuth
-
Request
Path parameters1
sessionstringREQUIRED
Responses
200OK application/json
dataCpoSessionResource
dataCpoSessionResource
accountobject
accountIdstring
authorizationobject
billingPlanobject
billingPlanobject
idstringREQUIRED
namestringREQUIRED
typestringREQUIRED
connectorIdnumber
createdAtstringREQUIRED
currencystringREQUIRED
dischargedKwhnumber
durationSecondsnumber
endedAtstring
evseControllerobject
evseControllerIdstring
excludedboolean
excludedReasonstring
externalCalculatedPricenumber
externalIdstring
externalProviderobject
externalProviderIdstring
externalUniqueIdstring
idstringREQUIRED
kwhnumberREQUIRED
locationobject
locationIdstring
mspLocationobject
powerTypestring
priceWithFXobject
providerobject
providerContextstringREQUIRED
providerIdstringREQUIRED
reimbursementobject
roamingIdstring
startedAtstring
statusstringREQUIRED
updatedAtstringREQUIRED
userobject
userIdstring
validityobject
vatInfoobject
metaobject
metaobject
limitnumber
skipnumber
statsobject
totalnumber
400Invalid Request application/json
errorobject
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
401Unauthorized application/json
errorobject
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
404Not Found application/json
errorobject
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
500Internal server error application/json
errorobject
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED