GET
/
v1
/
sites
/
{siteId}
/
reports
curl --request GET \
  --url https://api.voltview.co.uk/v1/sites/{siteId}/reports \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "siteId": "<string>",
    "name": "<string>",
    "type": "CONSUMPTION",
    "createdAt": "2023-11-07T05:31:56Z",
    "period": "<string>",
    "downloadUrl": "<string>"
  }
]

Authorizations

Authorization
string
header
required

JWT token obtained from /v1/requestToken endpoint

Path Parameters

siteId
string
required

Site identifier

Response

200
application/json
Reports retrieved successfully
id
string
required

Report identifier

siteId
string
required

Site identifier

name
string
required

Report name

type
enum<string>
required

Report type

Available options:
CONSUMPTION,
COST,
EMISSIONS,
EFFICIENCY
createdAt
string

Report creation date and time

period
string

Reporting period

downloadUrl
string

URL to download the report