curl --request GET \
--url https://api.voltview.co.uk/v1/sites/reports \
--header 'Authorization: Bearer <token>'
[
{
"id": "<string>",
"siteId": "<string>",
"name": "<string>",
"type": "CONSUMPTION",
"createdAt": "2023-11-07T05:31:56Z",
"period": "<string>",
"downloadUrl": "<string>"
}
]
Retrieves energy reports across all sites
curl --request GET \
--url https://api.voltview.co.uk/v1/sites/reports \
--header 'Authorization: Bearer <token>'
[
{
"id": "<string>",
"siteId": "<string>",
"name": "<string>",
"type": "CONSUMPTION",
"createdAt": "2023-11-07T05:31:56Z",
"period": "<string>",
"downloadUrl": "<string>"
}
]
JWT token obtained from /v1/requestToken endpoint
Reports retrieved successfully
The response is of type object[]
.