Request
POST https://odpzilina.invipo.partners/api/datasets/v2/traffic-control/reports/loads-summary
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.
timePeriod (enum, optional) – Specifies the period to filter data. Possible values: "daysOfWeek", "weekend", "workdays".
daysOfWeek (array of strings, optional) – Specific days of the week to retrieve data for. Possible values: "Monday", "Tuesday", "Wednesday", etc.
Answer
[
{
"from": 420,
"to": 430,
"V1.1": {
"sum": 474,
"min": 12,
"max": 210,
"avg": 118.5
},
"V1.2": {
"sum": 474,
"min": 12,
"max": 192,
"avg": 118.5
}
},
{
"from": 430,
"to": 440,
"V1.1": {
"sum": 474,
"min": 12,
"max": 210,
"avg": 118.5
},
"V1.2": {
"sum": 474,
"min": 12,
"max": 192,
"avg": 118.5
}
}
]