Request
GET https://opendata.zilina.sk/api/datasets/v2/traffic-control/reports/aggregated-loads?outputType=xml
Parameters
{
"from": "2022-12-28T10:51:20.516Z",
"to": "2022-12-29T07:51:20.516Z",
"itemIds": [
"611a65374203550001c13789"
]
}
from (string, required, ISO 8601 format) – Start time of the requested interval. Example: "2022-12-28T10:51:20.516Z".
to (string, required, ISO 8601 format) – End time of the requested interval. Example: "2022-12-29T07:51:20.516Z".
itemIds (array of strings, required) – List of object identifiers for which data should be returned.
USER GUIDE
Detailed instructions for querying datasets are available here.
Answer
{
"intervalStart": "2022-12-29T07:50:00Z",
"intervalEnd": "2022-12-29T08:00:00Z",
"loads": [
{
"detector": "V3P.1",
"vehicles": 60
},
{
"detector": "V3P.2",
"vehicles": 54
}
]
}