List ERE positions per account
Returns one row per account: whether it is ERE-eligible, the four onboarding gates, and every month of charging data you delivered. The ere block is null until Joulo publishes the monetary figures.
OAuth 2.0 client credentials for a CPO client bound to one partner. Request a token with grant_type client_credentials and send client_id and client_secret in the body, as JSON or form data. The token endpoint does not accept HTTP Basic client authentication. The token lasts one hour and has no refresh token. Omit scope to get every scope your client holds. The /v1 routes refuse user tokens and personal API tokens.
In: header
Scope: cpo:accounts:read
Query Parameters
Page size. A value above 200 becomes 200, and a negative value becomes 1. A missing, zero or non-numeric value uses 50.
501 <= value <= 200Number of accounts to skip, newest first. A negative or non-numeric value uses 0.
00 <= valueYour own customer number, as sent on POST /v1/accounts. Returns only the account with this value. The server trims it and keeps the first 120 characters.
Response Body
curl -X GET "https://api.joulo.nl/functions/v1/api/v1/ere-positions?limit=50&offset=0&cpo_external_ref=string"{
"positions": [
{
"account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
"cpo_external_ref": null,
"payout_handler": "joulo_pays_customer",
"ere_eligible": true,
"mandate_valid_from": null,
"checklist": {
"mandate_signed": true,
"ean_validated": true,
"mid_charger_registered": true,
"iban_present": true
},
"delivered_months": [
{
"period": "2019-08-24",
"total_kwh": 0,
"session_count": 0,
"status": "staged",
"received_at": "2019-08-24T14:15:22Z"
}
],
"total_kwh_delivered": 0,
"ere": null
}
],
"limit": 0,
"offset": 0,
"count": 0
}{
"error": "Missing or invalid API token"
}{
"error": "Insufficient scope",
"detail": "string",
"required_scope": "string"
}{
"error": "Too many requests",
"retry_after_seconds": 0
}{
"error": "list_failed",
"detail": "string"
}{
"error": "string"
}