Request
GET https://trnavadata.invipo.cloud/api/datasets/v1/traffic-counters/vehicles/hourly?outputType=xml
Parameters
{
"from": "ISODate",
"to": "ISODate",
"itemId": "string"
}
itemId (String, required) - Traffic counter item ID.
from (String, required) - Start of the time interval (ISO 8601).
to (String, required) - End of the time interval (ISO 8601).
Answer
<root>
<item>
<count>668</count>
<speed>0</speed>
<timestamp></timestamp>
</item>
<item>
<count>691</count>
<speed>0</speed>
<timestamp></timestamp>
</item>
</root>
count (number) – Number of vehicles.
speed (number) – Average speed.