PUT Asset/{id}

Update an existing Asset.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Internal Id of the Asset to Update

integer

Required

Body Parameters

A AssetRestResult object

AssetRestItem
NameDescriptionTypeAdditional information
Id

Primary Key.

integer

None.

Branding

Descriptive field indicating the type of branding.

string

None.

AssignedGarageId

Pointer to Garage

integer

None.

DefaultGarageName

string

None.

EligibilityLevel

byte

None.

Fitments

Special accessoires for this asset.

string

None.

Color

string

None.

Year

string

None.

Type

integer

None.

IconPath

string

None.

PeriodFrom

Indicates as of which date this asset is valid.

date

None.

PeriodTo

Indicates till which date this asset is valid (if not null).

date

None.

Name

Friendly name for the Asset.

string

None.

Code

Code for the Asset.

string

None.

Model

Model for the Asset.

string

None.

Brand

Brand for the Asset.

string

None.

PlateNumber

PlateNumber for the Asset.

string

None.

DisplayName

The name that should be displayed according to the preferences of the User.

string

None.

ChassisSerialNumber

string

None.

EngineSerialNumber

string

None.

InsurancePolicy

string

None.

AssetType

string

None.

DeviceId

integer

None.

Location

LocationRestItem

None.

Groups

Collection of integer

None.

Drivers

Collection of integer

None.

Comment

string

None.

FuelType

string

None.

ErpCode

string

None.

FuelTankCapacityInLitres

integer

None.

PlateType

integer

None.

PlateLeftLetter

string

None.

PlateMiddleLetter

string

None.

PlateRightLetter

string

None.

RegistrationNumber

string

None.

Ignition

integer

None.

ExternalPower

integer

None.

AuxiliaryAttachments

integer

None.

Input1

integer

None.

Input2

integer

None.

Input3

integer

None.

Input4

integer

None.

Input5

integer

None.

Input6

integer

None.

IMEI

string

None.

LastTripOdo

integer

None.

LastTripEndTs

date

None.

ClientAssetCategory

string

None.

ClientAssetSubCategory

string

None.

DeviceStateObject

DeviceStateDto

None.

DeviceOdoDistanceOffset

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Branding": "sample string 2",
  "AssignedGarageId": 1,
  "DefaultGarageName": "sample string 3",
  "EligibilityLevel": 64,
  "Fitments": "sample string 5",
  "Color": "sample string 6",
  "Year": "sample string 7",
  "Type": 1,
  "IconPath": "sample string 8",
  "PeriodFrom": "2025-09-14T01:02:18.8835656+02:00",
  "PeriodTo": "2025-09-14T01:02:18.8835656+02:00",
  "Name": "sample string 9",
  "Code": "sample string 10",
  "Model": "sample string 11",
  "Brand": "sample string 12",
  "PlateNumber": "sample string 13",
  "DisplayName": "sample string 14",
  "ChassisSerialNumber": "sample string 15",
  "EngineSerialNumber": "sample string 16",
  "InsurancePolicy": "sample string 17",
  "AssetType": "sample string 18",
  "DeviceId": 19,
  "Location": {
    "DeviceId": 1,
    "AssetId": 2,
    "AssetCode": "sample string 3",
    "AssetName": "sample string 4",
    "AssetPlateNumber": "sample string 5",
    "RtcBasedTimestamp": "2025-09-14T01:02:18.8835656+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-14T01:02:18.8835656+02:00"
      },
      {
        "Name": "sample string 1",
        "Value": "sample string 2",
        "Timestamp": "2025-09-14T01:02:18.8835656+02:00"
      }
    ],
    "IoSignals": 1,
    "Hdop": 1.1,
    "Vdop": 1.1,
    "Satellites": 1,
    "ServerTimeStamp": "2025-09-14T01:02:18.8835656+02:00",
    "Weight1": 1,
    "Weight2": 1,
    "Humidity1": 1,
    "Humidity2": 1,
    "StateStartTimeStamp": "2025-09-14T01:02:18.8835656+02:00",
    "InsideGeofences": [
      1,
      2
    ],
    "InsideGeofenceLabels": [
      "sample string 1",
      "sample string 2"
    ],
    "InsideGeofenceReferences": [
      "sample string 1",
      "sample string 2"
    ],
    "LastKnownRtcBasedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
    "LastKnownLatitude": 1.1,
    "LastKnownLongitude": 1.1,
    "LastKnownTemperatureInCelcius": 1.1,
    "LastKnownTemperatureRtcBasedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
    "LastKnownTemperature2InCelcius": 1.1,
    "LastKnownTemperature2RtcBasedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
    "LastKnownFuelLevelInPercentage": 1,
    "LastKnownFuelLevelRtcBasedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
    "LastKnownWeight1": 1,
    "LastKnownWeight1RtcBasedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
    "LastKnownWeight2": 1,
    "LastKnownWeight2RtcBasedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
    "LastKnownHumidity1": 1,
    "LastKnownHumidity1RtcBasedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
    "LastKnownHumidity2": 1,
    "LastKnownHumidity2RtcBasedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
    "LastTripOdo": 1,
    "LastTripEndTs": "2025-09-14T01:02:18.8835656+02:00",
    "CanBusOdometerValueInMeters": 1
  },
  "Groups": [
    1,
    2
  ],
  "Drivers": [
    1,
    2
  ],
  "Comment": "sample string 20",
  "FuelType": "sample string 21",
  "ErpCode": "sample string 22",
  "FuelTankCapacityInLitres": 1,
  "PlateType": 1,
  "PlateLeftLetter": "sample string 23",
  "PlateMiddleLetter": "sample string 24",
  "PlateRightLetter": "sample string 25",
  "RegistrationNumber": "sample string 26",
  "Ignition": 1,
  "ExternalPower": 1,
  "AuxiliaryAttachments": 1,
  "Input1": 1,
  "Input2": 1,
  "Input3": 1,
  "Input4": 1,
  "Input5": 1,
  "Input6": 1,
  "IMEI": "sample string 27",
  "LastTripOdo": 1,
  "LastTripEndTs": "2025-09-14T01:02:18.8835656+02:00",
  "ClientAssetCategory": "sample string 28",
  "ClientAssetSubCategory": "sample string 29",
  "DeviceStateObject": {
    "Id": 1,
    "CurrentPosition": {
      "Latitude": 1.1,
      "Longitude": 2.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+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-14T01:02:18.8835656+02:00",
      "CellId": 1,
      "Lac": 1,
      "Mnc": 1,
      "Mcc": 1,
      "RadiusInMeters": 1
    },
    "Odometer": {
      "GpsOdometer": 1,
      "CanBusOdometer": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "InsideGeofences": {
      "1": "2025-09-14T01:02:18.8835656+02:00",
      "3": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Temperature1": {
      "TemperatureInCelcius": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Temperature2": {
      "TemperatureInCelcius": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Temperature3": {
      "TemperatureInCelcius": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Temperature4": {
      "TemperatureInCelcius": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "EngineCoolantTemperature": {
      "TemperatureInCelcius": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Humidity1": {
      "HumidityInPercent": 64,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Humidity2": {
      "HumidityInPercent": 64,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "AxleWeight1": {
      "AxleWeightInKg": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "AverageAxleWeightInKg": 1,
      "AverageCounter": 1
    },
    "AxleWeight2": {
      "AxleWeightInKg": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "AverageAxleWeightInKg": 1,
      "AverageCounter": 1
    },
    "TotalAxleWeight": {
      "TotalWeightInKg": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "AverageWeightInKg": 1
    },
    "EngineHour": {
      "EngineHourInSeconds": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Fuel": {
      "FuelLevelInPercentage": 1.1,
      "FuelLevelRaw": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Fuel1": {
      "FuelLevelInPercentage": 1.1,
      "FuelLevelRaw": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Fuel2": {
      "FuelLevelInPercentage": 1.1,
      "FuelLevelRaw": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Ignition": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "ExternalPower": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input1": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input2": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input3": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input4": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input5": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input6": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input7": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input8": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input9": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input10": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input11": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input12": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input13": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Output1": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Output2": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Output3": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Output4": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Analog1": {
      "Value": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Analog2": {
      "Value": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Analog3": {
      "Value": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Analog4": {
      "Value": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "ExternalBattery": {
      "BatteryLevelInVoltage": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BackupBattery": {
      "BatteryLevelInVoltage": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BatteryLevel": {
      "BatteryLevelPercentage": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "CommunicationState": {
      "LocationType": 1,
      "EventType": 2,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "ServerTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "MessageSequenceNumber": 1
    },
    "RpmStatus": {
      "Rpm": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BleRpm1": {
      "Rpm": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BleRpm2": {
      "Rpm": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BleRpm3": {
      "Rpm": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BleRpm4": {
      "Rpm": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BatteryConsumptionState": {
      "BatteryChargeState": true,
      "BatteryChargeLevelInPercentage": 64,
      "BatteryPowerConsumptionInKWhPer100Km": 3,
      "RemainingDistanceInKm": 4,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "FuelConsumptionState": {
      "FuelConsumed": 1,
      "RemainingDistanceInKm": 2,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Angle1": {
      "AngleInDegrees": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Angle2": {
      "AngleInDegrees": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Angle3": {
      "AngleInDegrees": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Angle4": {
      "AngleInDegrees": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BleBatteryState1": {
      "BatteryLevelPercentage": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BleBatteryState2": {
      "BatteryLevelPercentage": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BleBatteryState3": {
      "BatteryLevelPercentage": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BleBatteryState4": {
      "BatteryLevelPercentage": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "AccelerometerState": {
      "AccelerationForce": 1,
      "BrakingForce": 1,
      "CorneringForce": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "CalculatedIgnitionState": {
      "IsIgnitionOn": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "CalculatedDeviceState": {
      "DeviceState": 0,
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "CalculatedCommunicatingState": {
      "IsCommunicating": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "CalculatedExternalPowerState": {
      "IsExternalPowerOn": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "IdlingState": {
      "IsCurrentlyIdling": true,
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "VirtualSensors": [
      {
        "VirtualSensorId": 1,
        "Name": "sample string 2",
        "Value": "sample string 3",
        "SensorOutputType": 0,
        "ChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
        "UpdatedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
      },
      {
        "VirtualSensorId": 1,
        "Name": "sample string 2",
        "Value": "sample string 3",
        "SensorOutputType": 0,
        "ChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
        "UpdatedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
      }
    ]
  },
  "DeviceOdoDistanceOffset": 1
}

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.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AssetRestItem'.

Response Information

Resource Description

AssetRestItem
NameDescriptionTypeAdditional information
Id

Primary Key.

integer

None.

Branding

Descriptive field indicating the type of branding.

string

None.

AssignedGarageId

Pointer to Garage

integer

None.

DefaultGarageName

string

None.

EligibilityLevel

byte

None.

Fitments

Special accessoires for this asset.

string

None.

Color

string

None.

Year

string

None.

Type

integer

None.

IconPath

string

None.

PeriodFrom

Indicates as of which date this asset is valid.

date

None.

PeriodTo

Indicates till which date this asset is valid (if not null).

date

None.

Name

Friendly name for the Asset.

string

None.

Code

Code for the Asset.

string

None.

Model

Model for the Asset.

string

None.

Brand

Brand for the Asset.

string

None.

PlateNumber

PlateNumber for the Asset.

string

None.

DisplayName

The name that should be displayed according to the preferences of the User.

string

None.

ChassisSerialNumber

string

None.

EngineSerialNumber

string

None.

InsurancePolicy

string

None.

AssetType

string

None.

DeviceId

integer

None.

Location

LocationRestItem

None.

Groups

Collection of integer

None.

Drivers

Collection of integer

None.

Comment

string

None.

FuelType

string

None.

ErpCode

string

None.

FuelTankCapacityInLitres

integer

None.

PlateType

integer

None.

PlateLeftLetter

string

None.

PlateMiddleLetter

string

None.

PlateRightLetter

string

None.

RegistrationNumber

string

None.

Ignition

integer

None.

ExternalPower

integer

None.

AuxiliaryAttachments

integer

None.

Input1

integer

None.

Input2

integer

None.

Input3

integer

None.

Input4

integer

None.

Input5

integer

None.

Input6

integer

None.

IMEI

string

None.

LastTripOdo

integer

None.

LastTripEndTs

date

None.

ClientAssetCategory

string

None.

ClientAssetSubCategory

string

None.

DeviceStateObject

DeviceStateDto

None.

DeviceOdoDistanceOffset

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Branding": "sample string 2",
  "AssignedGarageId": 1,
  "DefaultGarageName": "sample string 3",
  "EligibilityLevel": 64,
  "Fitments": "sample string 5",
  "Color": "sample string 6",
  "Year": "sample string 7",
  "Type": 1,
  "IconPath": "sample string 8",
  "PeriodFrom": "2025-09-14T01:02:18.8835656+02:00",
  "PeriodTo": "2025-09-14T01:02:18.8835656+02:00",
  "Name": "sample string 9",
  "Code": "sample string 10",
  "Model": "sample string 11",
  "Brand": "sample string 12",
  "PlateNumber": "sample string 13",
  "DisplayName": "sample string 14",
  "ChassisSerialNumber": "sample string 15",
  "EngineSerialNumber": "sample string 16",
  "InsurancePolicy": "sample string 17",
  "AssetType": "sample string 18",
  "DeviceId": 19,
  "Location": {
    "DeviceId": 1,
    "AssetId": 2,
    "AssetCode": "sample string 3",
    "AssetName": "sample string 4",
    "AssetPlateNumber": "sample string 5",
    "RtcBasedTimestamp": "2025-09-14T01:02:18.8835656+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-14T01:02:18.8835656+02:00"
      },
      {
        "Name": "sample string 1",
        "Value": "sample string 2",
        "Timestamp": "2025-09-14T01:02:18.8835656+02:00"
      }
    ],
    "IoSignals": 1,
    "Hdop": 1.1,
    "Vdop": 1.1,
    "Satellites": 1,
    "ServerTimeStamp": "2025-09-14T01:02:18.8835656+02:00",
    "Weight1": 1,
    "Weight2": 1,
    "Humidity1": 1,
    "Humidity2": 1,
    "StateStartTimeStamp": "2025-09-14T01:02:18.8835656+02:00",
    "InsideGeofences": [
      1,
      2
    ],
    "InsideGeofenceLabels": [
      "sample string 1",
      "sample string 2"
    ],
    "InsideGeofenceReferences": [
      "sample string 1",
      "sample string 2"
    ],
    "LastKnownRtcBasedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
    "LastKnownLatitude": 1.1,
    "LastKnownLongitude": 1.1,
    "LastKnownTemperatureInCelcius": 1.1,
    "LastKnownTemperatureRtcBasedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
    "LastKnownTemperature2InCelcius": 1.1,
    "LastKnownTemperature2RtcBasedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
    "LastKnownFuelLevelInPercentage": 1,
    "LastKnownFuelLevelRtcBasedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
    "LastKnownWeight1": 1,
    "LastKnownWeight1RtcBasedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
    "LastKnownWeight2": 1,
    "LastKnownWeight2RtcBasedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
    "LastKnownHumidity1": 1,
    "LastKnownHumidity1RtcBasedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
    "LastKnownHumidity2": 1,
    "LastKnownHumidity2RtcBasedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
    "LastTripOdo": 1,
    "LastTripEndTs": "2025-09-14T01:02:18.8835656+02:00",
    "CanBusOdometerValueInMeters": 1
  },
  "Groups": [
    1,
    2
  ],
  "Drivers": [
    1,
    2
  ],
  "Comment": "sample string 20",
  "FuelType": "sample string 21",
  "ErpCode": "sample string 22",
  "FuelTankCapacityInLitres": 1,
  "PlateType": 1,
  "PlateLeftLetter": "sample string 23",
  "PlateMiddleLetter": "sample string 24",
  "PlateRightLetter": "sample string 25",
  "RegistrationNumber": "sample string 26",
  "Ignition": 1,
  "ExternalPower": 1,
  "AuxiliaryAttachments": 1,
  "Input1": 1,
  "Input2": 1,
  "Input3": 1,
  "Input4": 1,
  "Input5": 1,
  "Input6": 1,
  "IMEI": "sample string 27",
  "LastTripOdo": 1,
  "LastTripEndTs": "2025-09-14T01:02:18.8835656+02:00",
  "ClientAssetCategory": "sample string 28",
  "ClientAssetSubCategory": "sample string 29",
  "DeviceStateObject": {
    "Id": 1,
    "CurrentPosition": {
      "Latitude": 1.1,
      "Longitude": 2.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+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-14T01:02:18.8835656+02:00",
      "CellId": 1,
      "Lac": 1,
      "Mnc": 1,
      "Mcc": 1,
      "RadiusInMeters": 1
    },
    "Odometer": {
      "GpsOdometer": 1,
      "CanBusOdometer": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "InsideGeofences": {
      "1": "2025-09-14T01:02:18.8835656+02:00",
      "3": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Temperature1": {
      "TemperatureInCelcius": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Temperature2": {
      "TemperatureInCelcius": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Temperature3": {
      "TemperatureInCelcius": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Temperature4": {
      "TemperatureInCelcius": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "EngineCoolantTemperature": {
      "TemperatureInCelcius": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Humidity1": {
      "HumidityInPercent": 64,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Humidity2": {
      "HumidityInPercent": 64,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "AxleWeight1": {
      "AxleWeightInKg": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "AverageAxleWeightInKg": 1,
      "AverageCounter": 1
    },
    "AxleWeight2": {
      "AxleWeightInKg": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "AverageAxleWeightInKg": 1,
      "AverageCounter": 1
    },
    "TotalAxleWeight": {
      "TotalWeightInKg": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "AverageWeightInKg": 1
    },
    "EngineHour": {
      "EngineHourInSeconds": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Fuel": {
      "FuelLevelInPercentage": 1.1,
      "FuelLevelRaw": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Fuel1": {
      "FuelLevelInPercentage": 1.1,
      "FuelLevelRaw": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Fuel2": {
      "FuelLevelInPercentage": 1.1,
      "FuelLevelRaw": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Ignition": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "ExternalPower": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input1": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input2": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input3": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input4": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input5": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input6": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input7": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input8": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input9": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input10": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input11": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input12": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Input13": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Output1": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Output2": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Output3": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Output4": {
      "State": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Analog1": {
      "Value": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Analog2": {
      "Value": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Analog3": {
      "Value": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Analog4": {
      "Value": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "ExternalBattery": {
      "BatteryLevelInVoltage": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BackupBattery": {
      "BatteryLevelInVoltage": 1.1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BatteryLevel": {
      "BatteryLevelPercentage": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "CommunicationState": {
      "LocationType": 1,
      "EventType": 2,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "ServerTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "MessageSequenceNumber": 1
    },
    "RpmStatus": {
      "Rpm": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BleRpm1": {
      "Rpm": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BleRpm2": {
      "Rpm": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BleRpm3": {
      "Rpm": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BleRpm4": {
      "Rpm": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BatteryConsumptionState": {
      "BatteryChargeState": true,
      "BatteryChargeLevelInPercentage": 64,
      "BatteryPowerConsumptionInKWhPer100Km": 3,
      "RemainingDistanceInKm": 4,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "FuelConsumptionState": {
      "FuelConsumed": 1,
      "RemainingDistanceInKm": 2,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Angle1": {
      "AngleInDegrees": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Angle2": {
      "AngleInDegrees": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Angle3": {
      "AngleInDegrees": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "Angle4": {
      "AngleInDegrees": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BleBatteryState1": {
      "BatteryLevelPercentage": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BleBatteryState2": {
      "BatteryLevelPercentage": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BleBatteryState3": {
      "BatteryLevelPercentage": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "BleBatteryState4": {
      "BatteryLevelPercentage": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "AccelerometerState": {
      "AccelerationForce": 1,
      "BrakingForce": 1,
      "CorneringForce": 1,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "CalculatedIgnitionState": {
      "IsIgnitionOn": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "CalculatedDeviceState": {
      "DeviceState": 0,
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "CalculatedCommunicatingState": {
      "IsCommunicating": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00",
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "CalculatedExternalPowerState": {
      "IsExternalPowerOn": true,
      "UpdateTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "IdlingState": {
      "IsCurrentlyIdling": true,
      "StateChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
    },
    "VirtualSensors": [
      {
        "VirtualSensorId": 1,
        "Name": "sample string 2",
        "Value": "sample string 3",
        "SensorOutputType": 0,
        "ChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
        "UpdatedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
      },
      {
        "VirtualSensorId": 1,
        "Name": "sample string 2",
        "Value": "sample string 3",
        "SensorOutputType": 0,
        "ChangedTimestamp": "2025-09-14T01:02:18.8835656+02:00",
        "UpdatedTimestamp": "2025-09-14T01:02:18.8835656+02:00"
      }
    ]
  },
  "DeviceOdoDistanceOffset": 1
}

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.