GET
/
v1
/
entities
/
{entityId}
/
aggregations
/
total
curl --request GET \
  --url https://platform.realto.io/api/v1/entities/{entityId}/aggregations/total \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "negativeActiveEnergy": {
      "t1": 123,
      "t2": 123,
      "t3": 123,
      "t4": 123,
      "total": 123,
      "unit": "<string>"
    },
    "negativeGasVolume": {
      "unit": "<string>",
      "value": 123
    },
    "positiveActiveEnergy": {
      "t1": 123,
      "t2": 123,
      "t3": 123,
      "t4": 123,
      "total": 123,
      "unit": "<string>"
    },
    "positiveGasVolume": {
      "unit": "<string>",
      "value": 123
    }
  },
  "entityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "timeframe": {
    "start": "2023-11-07T05:31:56Z",
    "end": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Access Token Authentication

Path Parameters

entityId
string
required

The id of the Entity

Query Parameters

start
string
required

The start of the time frame

end
string
required

The end of the time frame

Response

200
application/json
OK

An aggregation.

data
object

The data of an aggregation.

entityId
string

The id of the Entity

id
string

The id of the aggregation.

timeframe
object