Skip to main content
GET
/
api
/
partners
/
v2.0
/
org
/
{org_id}
/
devices
/
savings
Get an Organisation's Devices Savings
curl --request GET \
  --url https://api.example.com/api/partners/v2.0/org/{org_id}/devices/savings \
  --header 'Authorization: Bearer <token>'
{
  "total_savings": 123,
  "heat_pump_savings": 123,
  "electric_vehicle_savings": 123,
  "inverter_savings": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

org_id
string<uuid>
required

The organization ID of the user's organization

Query Parameters

start_datetime
string<date-time>
required

Start datetime for savings calculation

end_datetime
string<date-time>
required

End datetime for savings calculation

Response

200 - application/json

OK

total_savings
number
required
heat_pump_savings
number
required
electric_vehicle_savings
number
required
inverter_savings
number
required