GET Avl/Last?administrationId={administrationId}

Gets the last AVL record for the supplied administration

Request Information

URI Parameters

NameDescriptionTypeAdditional information
administrationId

The ID of the administration

integer

Required

Body Parameters

None.

Response Information

Resource Description

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-10-05T10:47:06.0864257+02:00",
  "LocalTime": "2020-10-05T10:47:06.0864257+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"
}