Request
POST https://opendata.zilina.sk/api/datasets/v2/traffic-control/reports/occupancies
Parameters
{
"dataFrom": "2022-12-25T10:51:20.516Z",
"dataTo": "2022-12-29T11:51:20.516Z",
"from": 420,
"to": 450,
"itemId": "611a65374203550001c13789"
}
dataFrom (string, required, ISO 8601 format) – Start time of the requested interval. Example: "2022-12-25T10:51:20.516Z".
dataTo (string, required, ISO 8601 format) – End time of the requested interval. Example: "2022-12-29T11:51:20.516Z".
from (number, optional) – Start minute of the day (e.g., 420 means 07:00).
to (number, optional) – End minute of the day (e.g., 450 means 07:30).
itemId (string, required) – Identifier of the monitored object.
USER GUIDE
Detailed instructions for querying datasets are available here.
Answer
[
{
"timestamp": "2022-12-29T09:40:00Z",
"from": "2022-12-29T09:40:00Z",
"to": "2022-12-29T09:50:00Z",
"D_F_K3": 42,
"V3.2": 51,
"DP2a": 0,
"DP2b": 0,
"DP3a": 18,
"DP3b": 0,
"V2a": 90,
"V3a": 85,
"D_F_ST3": 36,
"V1.2": 12,
"V3.1": 15,
"D_empty": 0,
"V1.1": 54,
"D11.1": 0,
"V2.1": 58,
"V2.2": 24
}
]