List the energy datums for a specified date range and aggregate for all projects
Optional list of comma separated projectIds to restrict the response to
The inclusive start date
The exclusive end date
The aggregation to group the datums by
GET //energy/datums HTTP/1.1
Host: api.ecosuite.io
Authorization: YOUR_API_KEY
Accept: */*
{
"projects": {
"ANY_ADDITIONAL_PROPERTY": {
"code": "text",
"name": "text",
"peakConsumption": 1,
"peakGeneration": 1,
"aggregatedTotals": [
{
"ANY_ADDITIONAL_PROPERTY": {
"generation": 1,
"generationReading": 1,
"normalisedGeneration": 1,
"consumption": 1,
"consumptionReading": 1,
"export": 1,
"exportReading": 1,
"storage": 1,
"storageReading": 1,
"forecast48Consumption": 1,
"forecast12Consumption": 1,
"forecast24Consumption": 1,
"forecastConsumption": 1
}
}
],
"sources": [
{
"ANY_ADDITIONAL_PROPERTY": {
"reading": 1,
"peakReading": 1
}
}
],
"sites": {
"ANY_ADDITIONAL_PROPERTY": {
"code": "text",
"name": "text",
"peakConsumption": 1,
"peakGeneration": 1,
"aggregatedTotals": [
{
"ANY_ADDITIONAL_PROPERTY": {
"generation": 1,
"generationReading": 1,
"normalisedGeneration": 1,
"consumption": 1,
"consumptionReading": 1,
"export": 1,
"exportReading": 1,
"storage": 1,
"storageReading": 1,
"forecast48Consumption": 1,
"forecast12Consumption": 1,
"forecast24Consumption": 1,
"forecastConsumption": 1
}
}
],
"sources": [
{
"ANY_ADDITIONAL_PROPERTY": {
"reading": 1,
"peakReading": 1
}
}
],
"systems": {
"ANY_ADDITIONAL_PROPERTY": {
"code": "text",
"name": "text",
"peakConsumption": 1,
"peakGeneration": 1,
"aggregatedTotals": [
{
"ANY_ADDITIONAL_PROPERTY": {
"generation": 1,
"generationReading": 1,
"normalisedGeneration": 1,
"consumption": 1,
"consumptionReading": 1,
"export": 1,
"exportReading": 1,
"storage": 1,
"storageReading": 1,
"forecast48Consumption": 1,
"forecast12Consumption": 1,
"forecast24Consumption": 1,
"forecastConsumption": 1
}
}
],
"sources": [
{
"ANY_ADDITIONAL_PROPERTY": {
"reading": 1,
"peakReading": 1
}
}
]
}
}
}
}
}
},
"range": {
"localStartDate": "2025-04-30T07:42:39.171Z",
"localEndDate": "2025-04-30T07:42:39.171Z"
},
"aggregation": "year"
}