cURL
curl --request GET \ --url https://api.traxes.io/connect/v1/entities/{entityId}/aggregations/total \ --header 'Authorization: Bearer <token>'
{ "data": { "negativeActiveEnergy": { "total": 123, "unit": "<string>", "t1": 123, "t2": 123, "t3": 123, "t4": 123 }, "negativeGasVolume": { "unit": "<string>", "value": 123 }, "positiveActiveEnergy": { "total": 123, "unit": "<string>", "t1": 123, "t2": 123, "t3": 123, "t4": 123 }, "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" } }
Returns a single total Aggregation for an Entity between specific dates
Access Token Authentication
The id of the Entity
The start of the time frame
The end of the time frame
OK
An aggregation.
The data of an aggregation.
Show child attributes
The id of the aggregation.
Was this page helpful?