developer portal

Vehicle counters

Vehicle counters

Get vehicle counters

Returns a list of vehicle counters for one or more vehicles, optionally filtered by default template counters only. Vehicle counters are calculated until the last tracking report.

Path parameters

NameTypeRequiredExample
defaultsOnlybooleanrequiredtrue

Request body

string[]

[
  "00000000-0000-0000-0000-000000000000",
  "00000000-0000-0000-0000-000000000000"
]

Responses

200OK
FieldType
VehicleVehicleCounterVehicle
VehicleCounterDataarray
[
  {
    "Vehicle": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": "Vehicle 1",
      "Code": "012345",
      "LastReportDateTime": "2019-03-19T11:45:47+01:00"
    },
    "VehicleCounterData": [
      {
        "Id": "00000000-0000-0000-0000-000000000000",
        "CounterName": "Counter 1",
        "CounterValue": 48145,
        "IsDefault": false
      }
    ]
  }
]
401Unauthorized
403Forbidden
429Too Many Requests