Sites
List the daylight readings for a specified date range and aggregate for a project
Authorizations
Path parameters
projectIdstringRequired
The ID of the project
siteIdstringRequired
The ID of the project
Query parameters
startstring · date-timeRequired
The inclusive start date
endstring · date-timeRequired
The exclusive end date
aggregationstring · enumOptionalPossible values:
The aggregation to group the datums by
Responses
200
successful operation
application/json
400
Invalid status value
application/json
get
GET //weather/daylight/projects/{projectId}/sites/{siteId} HTTP/1.1
Host: api.ecosuite.io
Authorization: YOUR_API_KEY
Accept: */*
{
"daylight": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"range": {
"localStartDate": "2025-09-16T00:42:29.812Z",
"localEndDate": "2025-09-16T00:42:29.812Z"
},
"aggregation": "year"
}