GET Device/{id}/Location/{start}/{end}/{includeAsset}

Get all locations by Device.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

ID of the device.

integer

Required

start

Begin of period to return data from. Value indicates seconds since epoch.

integer

Required

end

End of period to return data from. Value indicates seconds since epoch.

integer

Required

includeAsset

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

A enumeration of CalibrationRestItem objects.

LocationRestResult
NameDescriptionTypeAdditional information
Locations

Collection of LocationRestItem

None.

DeviceStates

Collection of DeviceStateDto

None.

LookupDate

DateTime for the lookup

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Locations": [
    {
      "DeviceId": 1,
      "AssetId": 2,
      "AssetCode": "sample string 3",
      "AssetName": "sample string 4",
      "AssetPlateNumber": "sample string 5",
      "RtcBasedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
      "Latitude": 1.1,
      "Longitude": 1.1,
      "OdoValueInMeters": 7,
      "HeadingInDegrees": 1,
      "SpeedInKph": 1,
      "FuelLevelInPercentage": 1,
      "TemperatureInCelcius": 1.1,
      "Temperature2InCelcius": 1.1,
      "ExternalBatteryLevelInVoltage": 1.1,
      "IgnitionSignal": true,
      "ExternalPowerSignal": true,
      "HasGpsFix": true,
      "Driver": "sample string 9",
      "TagScan": "sample string 10",
      "CustomFields": [
        {
          "Name": "sample string 1",
          "Value": "sample string 2",
          "Timestamp": "2025-09-14T00:49:56.2653898+02:00"
        },
        {
          "Name": "sample string 1",
          "Value": "sample string 2",
          "Timestamp": "2025-09-14T00:49:56.2653898+02:00"
        }
      ],
      "IoSignals": 1,
      "Hdop": 1.1,
      "Vdop": 1.1,
      "Satellites": 1,
      "ServerTimeStamp": "2025-09-14T00:49:56.2653898+02:00",
      "Weight1": 1,
      "Weight2": 1,
      "Humidity1": 1,
      "Humidity2": 1,
      "StateStartTimeStamp": "2025-09-14T00:49:56.2653898+02:00",
      "InsideGeofences": [
        1,
        2
      ],
      "InsideGeofenceLabels": [
        "sample string 1",
        "sample string 2"
      ],
      "InsideGeofenceReferences": [
        "sample string 1",
        "sample string 2"
      ],
      "LastKnownRtcBasedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
      "LastKnownLatitude": 1.1,
      "LastKnownLongitude": 1.1,
      "LastKnownTemperatureInCelcius": 1.1,
      "LastKnownTemperatureRtcBasedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
      "LastKnownTemperature2InCelcius": 1.1,
      "LastKnownTemperature2RtcBasedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
      "LastKnownFuelLevelInPercentage": 1,
      "LastKnownFuelLevelRtcBasedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
      "LastKnownWeight1": 1,
      "LastKnownWeight1RtcBasedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
      "LastKnownWeight2": 1,
      "LastKnownWeight2RtcBasedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
      "LastKnownHumidity1": 1,
      "LastKnownHumidity1RtcBasedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
      "LastKnownHumidity2": 1,
      "LastKnownHumidity2RtcBasedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
      "LastTripOdo": 1,
      "LastTripEndTs": "2025-09-14T00:49:56.2653898+02:00",
      "CanBusOdometerValueInMeters": 1
    },
    {
      "DeviceId": 1,
      "AssetId": 2,
      "AssetCode": "sample string 3",
      "AssetName": "sample string 4",
      "AssetPlateNumber": "sample string 5",
      "RtcBasedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
      "Latitude": 1.1,
      "Longitude": 1.1,
      "OdoValueInMeters": 7,
      "HeadingInDegrees": 1,
      "SpeedInKph": 1,
      "FuelLevelInPercentage": 1,
      "TemperatureInCelcius": 1.1,
      "Temperature2InCelcius": 1.1,
      "ExternalBatteryLevelInVoltage": 1.1,
      "IgnitionSignal": true,
      "ExternalPowerSignal": true,
      "HasGpsFix": true,
      "Driver": "sample string 9",
      "TagScan": "sample string 10",
      "CustomFields": [
        {
          "Name": "sample string 1",
          "Value": "sample string 2",
          "Timestamp": "2025-09-14T00:49:56.2653898+02:00"
        },
        {
          "Name": "sample string 1",
          "Value": "sample string 2",
          "Timestamp": "2025-09-14T00:49:56.2653898+02:00"
        }
      ],
      "IoSignals": 1,
      "Hdop": 1.1,
      "Vdop": 1.1,
      "Satellites": 1,
      "ServerTimeStamp": "2025-09-14T00:49:56.2653898+02:00",
      "Weight1": 1,
      "Weight2": 1,
      "Humidity1": 1,
      "Humidity2": 1,
      "StateStartTimeStamp": "2025-09-14T00:49:56.2653898+02:00",
      "InsideGeofences": [
        1,
        2
      ],
      "InsideGeofenceLabels": [
        "sample string 1",
        "sample string 2"
      ],
      "InsideGeofenceReferences": [
        "sample string 1",
        "sample string 2"
      ],
      "LastKnownRtcBasedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
      "LastKnownLatitude": 1.1,
      "LastKnownLongitude": 1.1,
      "LastKnownTemperatureInCelcius": 1.1,
      "LastKnownTemperatureRtcBasedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
      "LastKnownTemperature2InCelcius": 1.1,
      "LastKnownTemperature2RtcBasedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
      "LastKnownFuelLevelInPercentage": 1,
      "LastKnownFuelLevelRtcBasedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
      "LastKnownWeight1": 1,
      "LastKnownWeight1RtcBasedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
      "LastKnownWeight2": 1,
      "LastKnownWeight2RtcBasedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
      "LastKnownHumidity1": 1,
      "LastKnownHumidity1RtcBasedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
      "LastKnownHumidity2": 1,
      "LastKnownHumidity2RtcBasedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
      "LastTripOdo": 1,
      "LastTripEndTs": "2025-09-14T00:49:56.2653898+02:00",
      "CanBusOdometerValueInMeters": 1
    }
  ],
  "DeviceStates": [
    {
      "Id": 1,
      "CurrentPosition": {
        "Latitude": 1.1,
        "Longitude": 2.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "Speed": 1.1,
        "Heading": 1.1,
        "Altitude": 1.1,
        "RadiusInMeters": 1,
        "Hdop": 1.1,
        "Vdop": 1.1,
        "Pdop": 1.1,
        "Satellites": 1
      },
      "CellPosition": {
        "Latitude": 1.1,
        "Longitude": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "CellId": 1,
        "Lac": 1,
        "Mnc": 1,
        "Mcc": 1,
        "RadiusInMeters": 1
      },
      "Odometer": {
        "GpsOdometer": 1,
        "CanBusOdometer": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "InsideGeofences": {
        "1": "2025-09-14T00:49:56.2653898+02:00",
        "3": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Temperature1": {
        "TemperatureInCelcius": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Temperature2": {
        "TemperatureInCelcius": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Temperature3": {
        "TemperatureInCelcius": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Temperature4": {
        "TemperatureInCelcius": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "EngineCoolantTemperature": {
        "TemperatureInCelcius": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Humidity1": {
        "HumidityInPercent": 64,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Humidity2": {
        "HumidityInPercent": 64,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "AxleWeight1": {
        "AxleWeightInKg": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "AverageAxleWeightInKg": 1,
        "AverageCounter": 1
      },
      "AxleWeight2": {
        "AxleWeightInKg": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "AverageAxleWeightInKg": 1,
        "AverageCounter": 1
      },
      "TotalAxleWeight": {
        "TotalWeightInKg": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "AverageWeightInKg": 1
      },
      "EngineHour": {
        "EngineHourInSeconds": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Fuel": {
        "FuelLevelInPercentage": 1.1,
        "FuelLevelRaw": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Fuel1": {
        "FuelLevelInPercentage": 1.1,
        "FuelLevelRaw": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Fuel2": {
        "FuelLevelInPercentage": 1.1,
        "FuelLevelRaw": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Ignition": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "ExternalPower": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input1": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input2": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input3": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input4": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input5": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input6": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input7": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input8": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input9": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input10": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input11": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input12": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input13": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Output1": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Output2": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Output3": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Output4": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Analog1": {
        "Value": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Analog2": {
        "Value": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Analog3": {
        "Value": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Analog4": {
        "Value": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "ExternalBattery": {
        "BatteryLevelInVoltage": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BackupBattery": {
        "BatteryLevelInVoltage": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BatteryLevel": {
        "BatteryLevelPercentage": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "CommunicationState": {
        "LocationType": 1,
        "EventType": 2,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "ServerTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "MessageSequenceNumber": 1
      },
      "RpmStatus": {
        "Rpm": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BleRpm1": {
        "Rpm": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BleRpm2": {
        "Rpm": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BleRpm3": {
        "Rpm": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BleRpm4": {
        "Rpm": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BatteryConsumptionState": {
        "BatteryChargeState": true,
        "BatteryChargeLevelInPercentage": 64,
        "BatteryPowerConsumptionInKWhPer100Km": 3,
        "RemainingDistanceInKm": 4,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "FuelConsumptionState": {
        "FuelConsumed": 1,
        "RemainingDistanceInKm": 2,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Angle1": {
        "AngleInDegrees": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Angle2": {
        "AngleInDegrees": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Angle3": {
        "AngleInDegrees": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Angle4": {
        "AngleInDegrees": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BleBatteryState1": {
        "BatteryLevelPercentage": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BleBatteryState2": {
        "BatteryLevelPercentage": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BleBatteryState3": {
        "BatteryLevelPercentage": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BleBatteryState4": {
        "BatteryLevelPercentage": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "AccelerometerState": {
        "AccelerationForce": 1,
        "BrakingForce": 1,
        "CorneringForce": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "CalculatedIgnitionState": {
        "IsIgnitionOn": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "CalculatedDeviceState": {
        "DeviceState": 0,
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "CalculatedCommunicatingState": {
        "IsCommunicating": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "CalculatedExternalPowerState": {
        "IsExternalPowerOn": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "IdlingState": {
        "IsCurrentlyIdling": true,
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "VirtualSensors": [
        {
          "VirtualSensorId": 1,
          "Name": "sample string 2",
          "Value": "sample string 3",
          "SensorOutputType": 0,
          "ChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
          "UpdatedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
        },
        {
          "VirtualSensorId": 1,
          "Name": "sample string 2",
          "Value": "sample string 3",
          "SensorOutputType": 0,
          "ChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
          "UpdatedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
        }
      ]
    },
    {
      "Id": 1,
      "CurrentPosition": {
        "Latitude": 1.1,
        "Longitude": 2.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "Speed": 1.1,
        "Heading": 1.1,
        "Altitude": 1.1,
        "RadiusInMeters": 1,
        "Hdop": 1.1,
        "Vdop": 1.1,
        "Pdop": 1.1,
        "Satellites": 1
      },
      "CellPosition": {
        "Latitude": 1.1,
        "Longitude": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "CellId": 1,
        "Lac": 1,
        "Mnc": 1,
        "Mcc": 1,
        "RadiusInMeters": 1
      },
      "Odometer": {
        "GpsOdometer": 1,
        "CanBusOdometer": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "InsideGeofences": {
        "1": "2025-09-14T00:49:56.2653898+02:00",
        "3": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Temperature1": {
        "TemperatureInCelcius": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Temperature2": {
        "TemperatureInCelcius": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Temperature3": {
        "TemperatureInCelcius": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Temperature4": {
        "TemperatureInCelcius": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "EngineCoolantTemperature": {
        "TemperatureInCelcius": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Humidity1": {
        "HumidityInPercent": 64,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Humidity2": {
        "HumidityInPercent": 64,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "AxleWeight1": {
        "AxleWeightInKg": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "AverageAxleWeightInKg": 1,
        "AverageCounter": 1
      },
      "AxleWeight2": {
        "AxleWeightInKg": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "AverageAxleWeightInKg": 1,
        "AverageCounter": 1
      },
      "TotalAxleWeight": {
        "TotalWeightInKg": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "AverageWeightInKg": 1
      },
      "EngineHour": {
        "EngineHourInSeconds": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Fuel": {
        "FuelLevelInPercentage": 1.1,
        "FuelLevelRaw": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Fuel1": {
        "FuelLevelInPercentage": 1.1,
        "FuelLevelRaw": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Fuel2": {
        "FuelLevelInPercentage": 1.1,
        "FuelLevelRaw": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Ignition": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "ExternalPower": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input1": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input2": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input3": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input4": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input5": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input6": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input7": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input8": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input9": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input10": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input11": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input12": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Input13": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Output1": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Output2": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Output3": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Output4": {
        "State": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Analog1": {
        "Value": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Analog2": {
        "Value": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Analog3": {
        "Value": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Analog4": {
        "Value": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "ExternalBattery": {
        "BatteryLevelInVoltage": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BackupBattery": {
        "BatteryLevelInVoltage": 1.1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BatteryLevel": {
        "BatteryLevelPercentage": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "CommunicationState": {
        "LocationType": 1,
        "EventType": 2,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "ServerTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "MessageSequenceNumber": 1
      },
      "RpmStatus": {
        "Rpm": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BleRpm1": {
        "Rpm": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BleRpm2": {
        "Rpm": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BleRpm3": {
        "Rpm": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BleRpm4": {
        "Rpm": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BatteryConsumptionState": {
        "BatteryChargeState": true,
        "BatteryChargeLevelInPercentage": 64,
        "BatteryPowerConsumptionInKWhPer100Km": 3,
        "RemainingDistanceInKm": 4,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "FuelConsumptionState": {
        "FuelConsumed": 1,
        "RemainingDistanceInKm": 2,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Angle1": {
        "AngleInDegrees": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Angle2": {
        "AngleInDegrees": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Angle3": {
        "AngleInDegrees": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "Angle4": {
        "AngleInDegrees": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BleBatteryState1": {
        "BatteryLevelPercentage": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BleBatteryState2": {
        "BatteryLevelPercentage": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BleBatteryState3": {
        "BatteryLevelPercentage": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "BleBatteryState4": {
        "BatteryLevelPercentage": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "AccelerometerState": {
        "AccelerationForce": 1,
        "BrakingForce": 1,
        "CorneringForce": 1,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "CalculatedIgnitionState": {
        "IsIgnitionOn": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "CalculatedDeviceState": {
        "DeviceState": 0,
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "CalculatedCommunicatingState": {
        "IsCommunicating": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00",
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "CalculatedExternalPowerState": {
        "IsExternalPowerOn": true,
        "UpdateTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "IdlingState": {
        "IsCurrentlyIdling": true,
        "StateChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
      },
      "VirtualSensors": [
        {
          "VirtualSensorId": 1,
          "Name": "sample string 2",
          "Value": "sample string 3",
          "SensorOutputType": 0,
          "ChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
          "UpdatedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
        },
        {
          "VirtualSensorId": 1,
          "Name": "sample string 2",
          "Value": "sample string 3",
          "SensorOutputType": 0,
          "ChangedTimestamp": "2025-09-14T00:49:56.2653898+02:00",
          "UpdatedTimestamp": "2025-09-14T00:49:56.2653898+02:00"
        }
      ]
    }
  ],
  "LookupDate": "2025-09-14T00:49:56.2653898+02:00"
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'StateManager.Dto.TagStateDto' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'StateManager.Dto.TagStateDto' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.