GET Avl/Subscribe?groupId={groupId}&vehicleCategoryId={vehicleCategoryId}&driverCategoryId={driverCategoryId}&accountId={accountId}

Subscribe to the EventStream of multiple devices

Request Information

URI Parameters

NameDescriptionTypeAdditional information
groupId

integer

Required

vehicleCategoryId

integer

Required

driverCategoryId

integer

Required

accountId

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of AvlDto
NameDescriptionTypeAdditional information
Timestamp

date

None.

LocalTime

date

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Altitude

decimal number

None.

Angle

integer

None.

Satellites

byte

None.

Speed

integer

None.

EngineRunning

boolean

None.

PrivateMode

boolean

None.

EventId

integer

None.

EquipmentId

integer

None.

TripId

integer

None.

DriverId

integer

None.

IOValues

Dictionary of integer [key] and integer [value]

None.

Latency

integer

None.

HighResolutionTotalVehicleDistance

decimal number

None.

VehicleDistanceSource

VehicleDistanceSourceDTO

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Timestamp": "2020-08-07T08:23:35.3819465+02:00",
    "LocalTime": "2020-08-07T08:23:35.3819465+02:00",
    "Latitude": 3.0,
    "Longitude": 4.0,
    "Altitude": 5.0,
    "Angle": 6,
    "Satellites": 64,
    "Speed": 8,
    "EngineRunning": true,
    "PrivateMode": true,
    "EventId": 11,
    "EquipmentId": 12,
    "TripId": 13,
    "DriverId": 14,
    "IOValues": {
      "1": 2,
      "3": 4
    },
    "Latency": 15,
    "HighResolutionTotalVehicleDistance": 1.0,
    "VehicleDistanceSource": "NoUsableSource"
  },
  {
    "Timestamp": "2020-08-07T08:23:35.3819465+02:00",
    "LocalTime": "2020-08-07T08:23:35.3819465+02:00",
    "Latitude": 3.0,
    "Longitude": 4.0,
    "Altitude": 5.0,
    "Angle": 6,
    "Satellites": 64,
    "Speed": 8,
    "EngineRunning": true,
    "PrivateMode": true,
    "EventId": 11,
    "EquipmentId": 12,
    "TripId": 13,
    "DriverId": 14,
    "IOValues": {
      "1": 2,
      "3": 4
    },
    "Latency": 15,
    "HighResolutionTotalVehicleDistance": 1.0,
    "VehicleDistanceSource": "NoUsableSource"
  }
]