PUT Trips/{id}
Update an existing trip.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Internal Id of the trip to Update |
integer |
Required |
Body Parameters
A TripRestItem object
TripRestItemName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
DeviceId | integer |
None. |
|
AssetId | integer |
None. |
|
BeginDateTime | date |
None. |
|
EndDateTime | date |
None. |
|
CalibratedOdoValueEnd | integer |
None. |
|
SegmentDistanceInKilometers | decimal number |
None. |
|
BeginLatitude | decimal number |
None. |
|
BeginLongitude | decimal number |
None. |
|
EndLatitude | decimal number |
None. |
|
EndLongitude | decimal number |
None. |
|
CenterLatitude | decimal number |
None. |
|
CenterLongitude | decimal number |
None. |
|
BoundingDistanceInMetres | decimal number |
None. |
|
IsPrivate | boolean |
None. |
|
PrivateDistanceInKilometers | decimal number |
None. |
|
Comment | string |
None. |
|
BeginAddressAndPostalCode | string |
None. |
|
BeginCity | string |
None. |
|
BeginLabel | string |
None. |
|
EndAddressAndPostalCode | string |
None. |
|
EndCity | string |
None. |
|
EndLabel | string |
None. |
|
Method | TripMethod |
None. |
|
BeginMunicipality | string |
None. |
|
EndMunicipality | string |
None. |
|
Locations | Collection of LocationRestItem |
None. |
|
Drivers | Collection of DriverRestItem |
None. |
|
DriverName | string |
None. |
|
DriverId | integer |
None. |
|
InProgress | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 2, "TripId": 2, "DeviceId": 3, "AssetId": 4, "BeginDateTime": "2025-01-05T02:20:21.6857218+01:00", "EndDateTime": "2025-01-05T02:20:21.6857218+01:00", "CalibratedOdoValueEnd": 7, "SegmentDistanceInKilometers": 8.1, "BeginLatitude": 1.1, "BeginLongitude": 1.1, "EndLatitude": 1.1, "EndLongitude": 1.1, "CenterLatitude": 1.1, "CenterLongitude": 1.1, "BoundingDistanceInMetres": 1.1, "IsPrivate": true, "PrivateDistanceInKilometers": 10.1, "Comment": "sample string 11", "BeginAddressAndPostalCode": "sample string 12", "BeginCity": "sample string 13", "BeginLabel": "sample string 14", "EndAddressAndPostalCode": "sample string 15", "EndCity": "sample string 16", "EndLabel": "sample string 17", "Method": 1, "BeginMunicipality": "sample string 18", "EndMunicipality": "sample string 19", "Locations": [ { "DeviceId": 1, "AssetId": 2, "AssetCode": "sample string 3", "AssetName": "sample string 4", "AssetPlateNumber": "sample string 5", "RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01: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-01-05T02:20:21.6857218+01:00" }, { "Name": "sample string 1", "Value": "sample string 2", "Timestamp": "2025-01-05T02:20:21.6857218+01:00" } ], "IoSignals": 1, "Hdop": 1.1, "Vdop": 1.1, "Satellites": 1, "ServerTimeStamp": "2025-01-05T02:20:21.6857218+01:00", "Weight1": 1, "Weight2": 1, "Humidity1": 1, "Humidity2": 1, "StateStartTimeStamp": "2025-01-05T02:20:21.6857218+01:00", "InsideGeofences": [ 1, 2 ], "InsideGeofenceLabels": [ "sample string 1", "sample string 2" ], "InsideGeofenceReferences": [ "sample string 1", "sample string 2" ], "LastKnownRtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownLatitude": 1.1, "LastKnownLongitude": 1.1, "LastKnownTemperatureInCelcius": 1.1, "LastKnownTemperatureRtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownTemperature2InCelcius": 1.1, "LastKnownTemperature2RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownFuelLevelInPercentage": 1, "LastKnownFuelLevelRtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownWeight1": 1, "LastKnownWeight1RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownWeight2": 1, "LastKnownWeight2RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownHumidity1": 1, "LastKnownHumidity1RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownHumidity2": 1, "LastKnownHumidity2RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastTripOdo": 1, "LastTripEndTs": "2025-01-05T02:20:21.6857218+01:00", "CanBusOdometerValueInMeters": 1 }, { "DeviceId": 1, "AssetId": 2, "AssetCode": "sample string 3", "AssetName": "sample string 4", "AssetPlateNumber": "sample string 5", "RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01: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-01-05T02:20:21.6857218+01:00" }, { "Name": "sample string 1", "Value": "sample string 2", "Timestamp": "2025-01-05T02:20:21.6857218+01:00" } ], "IoSignals": 1, "Hdop": 1.1, "Vdop": 1.1, "Satellites": 1, "ServerTimeStamp": "2025-01-05T02:20:21.6857218+01:00", "Weight1": 1, "Weight2": 1, "Humidity1": 1, "Humidity2": 1, "StateStartTimeStamp": "2025-01-05T02:20:21.6857218+01:00", "InsideGeofences": [ 1, 2 ], "InsideGeofenceLabels": [ "sample string 1", "sample string 2" ], "InsideGeofenceReferences": [ "sample string 1", "sample string 2" ], "LastKnownRtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownLatitude": 1.1, "LastKnownLongitude": 1.1, "LastKnownTemperatureInCelcius": 1.1, "LastKnownTemperatureRtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownTemperature2InCelcius": 1.1, "LastKnownTemperature2RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownFuelLevelInPercentage": 1, "LastKnownFuelLevelRtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownWeight1": 1, "LastKnownWeight1RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownWeight2": 1, "LastKnownWeight2RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownHumidity1": 1, "LastKnownHumidity1RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownHumidity2": 1, "LastKnownHumidity2RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastTripOdo": 1, "LastTripEndTs": "2025-01-05T02:20:21.6857218+01:00", "CanBusOdometerValueInMeters": 1 } ], "Drivers": [ { "Nationality": "sample string 1", "DriverLicenceExpirationDate": "2025-01-05T02:20:21.6857218+01:00", "DateOfBirth": "2025-01-05T02:20:21.6857218+01:00", "MobilePhone": "sample string 2", "HomePhone": "sample string 3", "InactivationDate": "2025-01-05T02:20:21.6857218+01:00", "IdentificationCardNumber": "sample string 4", "DriversLicense": "sample string 5", "Qualification": "sample string 6", "Email": "sample string 7", "OfficePhone": "sample string 8", "CompanyPosition": "sample string 9", "IdentificationCardExpirationDate": "2025-01-05T02:20:21.6857218+01:00", "DriverEligibilityLevel": 64, "FkDepartmentId": 1, "DepartmentName": "sample string 10", "FkDefaultGarageId": 1, "DefaultGarageName": "sample string 11", "FkAgencyId": 1, "AgencyName": "sample string 12", "Id": 13, "LastName": "sample string 14", "FirstName": "sample string 15", "Tag": "sample string 16", "Alerts": [ "sample string 1", "sample string 2" ], "DriverGroups": [ 1, 2 ], "AssignedAssetCode": "sample string 17", "AssignedAssetStartDate": "2025-01-05T02:20:21.6857218+01:00", "AssignedAssetEndDate": "2025-01-05T02:20:21.6857218+01:00", "ErpCode": "sample string 19", "Comments": "sample string 20" }, { "Nationality": "sample string 1", "DriverLicenceExpirationDate": "2025-01-05T02:20:21.6857218+01:00", "DateOfBirth": "2025-01-05T02:20:21.6857218+01:00", "MobilePhone": "sample string 2", "HomePhone": "sample string 3", "InactivationDate": "2025-01-05T02:20:21.6857218+01:00", "IdentificationCardNumber": "sample string 4", "DriversLicense": "sample string 5", "Qualification": "sample string 6", "Email": "sample string 7", "OfficePhone": "sample string 8", "CompanyPosition": "sample string 9", "IdentificationCardExpirationDate": "2025-01-05T02:20:21.6857218+01:00", "DriverEligibilityLevel": 64, "FkDepartmentId": 1, "DepartmentName": "sample string 10", "FkDefaultGarageId": 1, "DefaultGarageName": "sample string 11", "FkAgencyId": 1, "AgencyName": "sample string 12", "Id": 13, "LastName": "sample string 14", "FirstName": "sample string 15", "Tag": "sample string 16", "Alerts": [ "sample string 1", "sample string 2" ], "DriverGroups": [ 1, 2 ], "AssignedAssetCode": "sample string 17", "AssignedAssetStartDate": "2025-01-05T02:20:21.6857218+01:00", "AssignedAssetEndDate": "2025-01-05T02:20:21.6857218+01:00", "ErpCode": "sample string 19", "Comments": "sample string 20" } ], "DriverName": "sample string 14,sample string 15", "DriverId": 13, "InProgress": true }
application/xml, text/xml
Sample:
<TripRestItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models"> <AssetId>4</AssetId> <BeginAddressAndPostalCode>sample string 12</BeginAddressAndPostalCode> <BeginCity>sample string 13</BeginCity> <BeginDateTime>2025-01-05T02:20:21.6857218+01:00</BeginDateTime> <BeginLabel>sample string 14</BeginLabel> <BeginLatitude>1.1</BeginLatitude> <BeginLongitude>1.1</BeginLongitude> <BeginMunicipality>sample string 18</BeginMunicipality> <BoundingDistanceInMetres>1.1</BoundingDistanceInMetres> <CalibratedOdoValueEnd>7</CalibratedOdoValueEnd> <CenterLatitude>1.1</CenterLatitude> <CenterLongitude>1.1</CenterLongitude> <Comment>sample string 11</Comment> <DeviceId>3</DeviceId> <Drivers> <DriverRestItem> <AgencyName>sample string 12</AgencyName> <Alerts xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Alerts> <AssignedAssetCode>sample string 17</AssignedAssetCode> <AssignedAssetEndDate>2025-01-05T02:20:21.6857218+01:00</AssignedAssetEndDate> <AssignedAssetStartDate>2025-01-05T02:20:21.6857218+01:00</AssignedAssetStartDate> <Comments>sample string 20</Comments> <CompanyPosition>sample string 9</CompanyPosition> <DateOfBirth>2025-01-05T02:20:21.6857218+01:00</DateOfBirth> <DefaultGarageName>sample string 11</DefaultGarageName> <DepartmentName>sample string 10</DepartmentName> <DriverEligibilityLevel>64</DriverEligibilityLevel> <DriverGroups xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </DriverGroups> <DriverLicenceExpirationDate>2025-01-05T02:20:21.6857218+01:00</DriverLicenceExpirationDate> <DriversLicense>sample string 5</DriversLicense> <Email>sample string 7</Email> <ErpCode>sample string 19</ErpCode> <FirstName>sample string 15</FirstName> <FkAgencyId>1</FkAgencyId> <FkDefaultGarageId>1</FkDefaultGarageId> <FkDepartmentId>1</FkDepartmentId> <HomePhone>sample string 3</HomePhone> <Id>13</Id> <IdentificationCardExpirationDate>2025-01-05T02:20:21.6857218+01:00</IdentificationCardExpirationDate> <IdentificationCardNumber>sample string 4</IdentificationCardNumber> <InactivationDate>2025-01-05T02:20:21.6857218+01:00</InactivationDate> <LastName>sample string 14</LastName> <MobilePhone>sample string 2</MobilePhone> <Nationality>sample string 1</Nationality> <OfficePhone>sample string 8</OfficePhone> <Qualification>sample string 6</Qualification> <Tag>sample string 16</Tag> </DriverRestItem> <DriverRestItem> <AgencyName>sample string 12</AgencyName> <Alerts xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Alerts> <AssignedAssetCode>sample string 17</AssignedAssetCode> <AssignedAssetEndDate>2025-01-05T02:20:21.6857218+01:00</AssignedAssetEndDate> <AssignedAssetStartDate>2025-01-05T02:20:21.6857218+01:00</AssignedAssetStartDate> <Comments>sample string 20</Comments> <CompanyPosition>sample string 9</CompanyPosition> <DateOfBirth>2025-01-05T02:20:21.6857218+01:00</DateOfBirth> <DefaultGarageName>sample string 11</DefaultGarageName> <DepartmentName>sample string 10</DepartmentName> <DriverEligibilityLevel>64</DriverEligibilityLevel> <DriverGroups xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </DriverGroups> <DriverLicenceExpirationDate>2025-01-05T02:20:21.6857218+01:00</DriverLicenceExpirationDate> <DriversLicense>sample string 5</DriversLicense> <Email>sample string 7</Email> <ErpCode>sample string 19</ErpCode> <FirstName>sample string 15</FirstName> <FkAgencyId>1</FkAgencyId> <FkDefaultGarageId>1</FkDefaultGarageId> <FkDepartmentId>1</FkDepartmentId> <HomePhone>sample string 3</HomePhone> <Id>13</Id> <IdentificationCardExpirationDate>2025-01-05T02:20:21.6857218+01:00</IdentificationCardExpirationDate> <IdentificationCardNumber>sample string 4</IdentificationCardNumber> <InactivationDate>2025-01-05T02:20:21.6857218+01:00</InactivationDate> <LastName>sample string 14</LastName> <MobilePhone>sample string 2</MobilePhone> <Nationality>sample string 1</Nationality> <OfficePhone>sample string 8</OfficePhone> <Qualification>sample string 6</Qualification> <Tag>sample string 16</Tag> </DriverRestItem> </Drivers> <EndAddressAndPostalCode>sample string 15</EndAddressAndPostalCode> <EndCity>sample string 16</EndCity> <EndDateTime>2025-01-05T02:20:21.6857218+01:00</EndDateTime> <EndLabel>sample string 17</EndLabel> <EndLatitude>1.1</EndLatitude> <EndLongitude>1.1</EndLongitude> <EndMunicipality>sample string 19</EndMunicipality> <Id>2</Id> <InProgress>true</InProgress> <IsPrivate>true</IsPrivate> <Locations> <LocationRestItem> <AssetCode>sample string 3</AssetCode> <AssetId>2</AssetId> <AssetName>sample string 4</AssetName> <AssetPlateNumber>sample string 5</AssetPlateNumber> <CanBusOdometerValueInMeters>1</CanBusOdometerValueInMeters> <CustomFields> <CustomFieldRestItem> <Name>sample string 1</Name> <Timestamp>2025-01-05T02:20:21.6857218+01:00</Timestamp> <Value>sample string 2</Value> </CustomFieldRestItem> <CustomFieldRestItem> <Name>sample string 1</Name> <Timestamp>2025-01-05T02:20:21.6857218+01:00</Timestamp> <Value>sample string 2</Value> </CustomFieldRestItem> </CustomFields> <DeviceId>1</DeviceId> <DeviceState>Unknown</DeviceState> <Driver>sample string 9</Driver> <ExternalBatteryLevelInVoltage>1.1</ExternalBatteryLevelInVoltage> <ExternalPowerSignal>true</ExternalPowerSignal> <FuelLevelInPercentage>1</FuelLevelInPercentage> <HasGpsFix>true</HasGpsFix> <Hdop>1.1</Hdop> <HeadingInDegrees>1</HeadingInDegrees> <Humidity1>1</Humidity1> <Humidity2>1</Humidity2> <IgnitionSignal>true</IgnitionSignal> <InsideGeofenceLabels xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </InsideGeofenceLabels> <InsideGeofenceReferences xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </InsideGeofenceReferences> <InsideGeofences xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </InsideGeofences> <IoSignals>1</IoSignals> <LastKnownFuelLevelInPercentage>1</LastKnownFuelLevelInPercentage> <LastKnownFuelLevelRtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownFuelLevelRtcBasedTimestamp> <LastKnownHumidity1>1</LastKnownHumidity1> <LastKnownHumidity1RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownHumidity1RtcBasedTimestamp> <LastKnownHumidity2>1</LastKnownHumidity2> <LastKnownHumidity2RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownHumidity2RtcBasedTimestamp> <LastKnownLatitude>1.1</LastKnownLatitude> <LastKnownLongitude>1.1</LastKnownLongitude> <LastKnownRtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownRtcBasedTimestamp> <LastKnownTemperature2InCelcius>1.1</LastKnownTemperature2InCelcius> <LastKnownTemperature2RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownTemperature2RtcBasedTimestamp> <LastKnownTemperatureInCelcius>1.1</LastKnownTemperatureInCelcius> <LastKnownTemperatureRtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownTemperatureRtcBasedTimestamp> <LastKnownWeight1>1</LastKnownWeight1> <LastKnownWeight1RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownWeight1RtcBasedTimestamp> <LastKnownWeight2>1</LastKnownWeight2> <LastKnownWeight2RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownWeight2RtcBasedTimestamp> <LastTripEndTs>2025-01-05T02:20:21.6857218+01:00</LastTripEndTs> <LastTripOdo>1</LastTripOdo> <Latitude>1.1</Latitude> <LocationType>Unknown</LocationType> <Longitude>1.1</Longitude> <OdoValueInMeters>7</OdoValueInMeters> <RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</RtcBasedTimestamp> <Satellites>1</Satellites> <ServerTimeStamp>2025-01-05T02:20:21.6857218+01:00</ServerTimeStamp> <SpeedInKph>1</SpeedInKph> <StateStartTimeStamp>2025-01-05T02:20:21.6857218+01:00</StateStartTimeStamp> <TagScan>sample string 10</TagScan> <Temperature2InCelcius>1.1</Temperature2InCelcius> <TemperatureInCelcius>1.1</TemperatureInCelcius> <Vdop>1.1</Vdop> <Weight1>1</Weight1> <Weight2>1</Weight2> </LocationRestItem> <LocationRestItem> <AssetCode>sample string 3</AssetCode> <AssetId>2</AssetId> <AssetName>sample string 4</AssetName> <AssetPlateNumber>sample string 5</AssetPlateNumber> <CanBusOdometerValueInMeters>1</CanBusOdometerValueInMeters> <CustomFields> <CustomFieldRestItem> <Name>sample string 1</Name> <Timestamp>2025-01-05T02:20:21.6857218+01:00</Timestamp> <Value>sample string 2</Value> </CustomFieldRestItem> <CustomFieldRestItem> <Name>sample string 1</Name> <Timestamp>2025-01-05T02:20:21.6857218+01:00</Timestamp> <Value>sample string 2</Value> </CustomFieldRestItem> </CustomFields> <DeviceId>1</DeviceId> <DeviceState>Unknown</DeviceState> <Driver>sample string 9</Driver> <ExternalBatteryLevelInVoltage>1.1</ExternalBatteryLevelInVoltage> <ExternalPowerSignal>true</ExternalPowerSignal> <FuelLevelInPercentage>1</FuelLevelInPercentage> <HasGpsFix>true</HasGpsFix> <Hdop>1.1</Hdop> <HeadingInDegrees>1</HeadingInDegrees> <Humidity1>1</Humidity1> <Humidity2>1</Humidity2> <IgnitionSignal>true</IgnitionSignal> <InsideGeofenceLabels xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </InsideGeofenceLabels> <InsideGeofenceReferences xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </InsideGeofenceReferences> <InsideGeofences xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </InsideGeofences> <IoSignals>1</IoSignals> <LastKnownFuelLevelInPercentage>1</LastKnownFuelLevelInPercentage> <LastKnownFuelLevelRtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownFuelLevelRtcBasedTimestamp> <LastKnownHumidity1>1</LastKnownHumidity1> <LastKnownHumidity1RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownHumidity1RtcBasedTimestamp> <LastKnownHumidity2>1</LastKnownHumidity2> <LastKnownHumidity2RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownHumidity2RtcBasedTimestamp> <LastKnownLatitude>1.1</LastKnownLatitude> <LastKnownLongitude>1.1</LastKnownLongitude> <LastKnownRtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownRtcBasedTimestamp> <LastKnownTemperature2InCelcius>1.1</LastKnownTemperature2InCelcius> <LastKnownTemperature2RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownTemperature2RtcBasedTimestamp> <LastKnownTemperatureInCelcius>1.1</LastKnownTemperatureInCelcius> <LastKnownTemperatureRtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownTemperatureRtcBasedTimestamp> <LastKnownWeight1>1</LastKnownWeight1> <LastKnownWeight1RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownWeight1RtcBasedTimestamp> <LastKnownWeight2>1</LastKnownWeight2> <LastKnownWeight2RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownWeight2RtcBasedTimestamp> <LastTripEndTs>2025-01-05T02:20:21.6857218+01:00</LastTripEndTs> <LastTripOdo>1</LastTripOdo> <Latitude>1.1</Latitude> <LocationType>Unknown</LocationType> <Longitude>1.1</Longitude> <OdoValueInMeters>7</OdoValueInMeters> <RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</RtcBasedTimestamp> <Satellites>1</Satellites> <ServerTimeStamp>2025-01-05T02:20:21.6857218+01:00</ServerTimeStamp> <SpeedInKph>1</SpeedInKph> <StateStartTimeStamp>2025-01-05T02:20:21.6857218+01:00</StateStartTimeStamp> <TagScan>sample string 10</TagScan> <Temperature2InCelcius>1.1</Temperature2InCelcius> <TemperatureInCelcius>1.1</TemperatureInCelcius> <Vdop>1.1</Vdop> <Weight1>1</Weight1> <Weight2>1</Weight2> </LocationRestItem> </Locations> <Method>Script</Method> <PrivateDistanceInKilometers>10.1</PrivateDistanceInKilometers> <SegmentDistanceInKilometers>8.1</SegmentDistanceInKilometers> <TripId>2</TripId> </TripRestItem>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
TripRestItemName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
DeviceId | integer |
None. |
|
AssetId | integer |
None. |
|
BeginDateTime | date |
None. |
|
EndDateTime | date |
None. |
|
CalibratedOdoValueEnd | integer |
None. |
|
SegmentDistanceInKilometers | decimal number |
None. |
|
BeginLatitude | decimal number |
None. |
|
BeginLongitude | decimal number |
None. |
|
EndLatitude | decimal number |
None. |
|
EndLongitude | decimal number |
None. |
|
CenterLatitude | decimal number |
None. |
|
CenterLongitude | decimal number |
None. |
|
BoundingDistanceInMetres | decimal number |
None. |
|
IsPrivate | boolean |
None. |
|
PrivateDistanceInKilometers | decimal number |
None. |
|
Comment | string |
None. |
|
BeginAddressAndPostalCode | string |
None. |
|
BeginCity | string |
None. |
|
BeginLabel | string |
None. |
|
EndAddressAndPostalCode | string |
None. |
|
EndCity | string |
None. |
|
EndLabel | string |
None. |
|
Method | TripMethod |
None. |
|
BeginMunicipality | string |
None. |
|
EndMunicipality | string |
None. |
|
Locations | Collection of LocationRestItem |
None. |
|
Drivers | Collection of DriverRestItem |
None. |
|
DriverName | string |
None. |
|
DriverId | integer |
None. |
|
InProgress | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 2, "TripId": 2, "DeviceId": 3, "AssetId": 4, "BeginDateTime": "2025-01-05T02:20:21.6857218+01:00", "EndDateTime": "2025-01-05T02:20:21.6857218+01:00", "CalibratedOdoValueEnd": 7, "SegmentDistanceInKilometers": 8.1, "BeginLatitude": 1.1, "BeginLongitude": 1.1, "EndLatitude": 1.1, "EndLongitude": 1.1, "CenterLatitude": 1.1, "CenterLongitude": 1.1, "BoundingDistanceInMetres": 1.1, "IsPrivate": true, "PrivateDistanceInKilometers": 10.1, "Comment": "sample string 11", "BeginAddressAndPostalCode": "sample string 12", "BeginCity": "sample string 13", "BeginLabel": "sample string 14", "EndAddressAndPostalCode": "sample string 15", "EndCity": "sample string 16", "EndLabel": "sample string 17", "Method": 1, "BeginMunicipality": "sample string 18", "EndMunicipality": "sample string 19", "Locations": [ { "DeviceId": 1, "AssetId": 2, "AssetCode": "sample string 3", "AssetName": "sample string 4", "AssetPlateNumber": "sample string 5", "RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01: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-01-05T02:20:21.6857218+01:00" }, { "Name": "sample string 1", "Value": "sample string 2", "Timestamp": "2025-01-05T02:20:21.6857218+01:00" } ], "IoSignals": 1, "Hdop": 1.1, "Vdop": 1.1, "Satellites": 1, "ServerTimeStamp": "2025-01-05T02:20:21.6857218+01:00", "Weight1": 1, "Weight2": 1, "Humidity1": 1, "Humidity2": 1, "StateStartTimeStamp": "2025-01-05T02:20:21.6857218+01:00", "InsideGeofences": [ 1, 2 ], "InsideGeofenceLabels": [ "sample string 1", "sample string 2" ], "InsideGeofenceReferences": [ "sample string 1", "sample string 2" ], "LastKnownRtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownLatitude": 1.1, "LastKnownLongitude": 1.1, "LastKnownTemperatureInCelcius": 1.1, "LastKnownTemperatureRtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownTemperature2InCelcius": 1.1, "LastKnownTemperature2RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownFuelLevelInPercentage": 1, "LastKnownFuelLevelRtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownWeight1": 1, "LastKnownWeight1RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownWeight2": 1, "LastKnownWeight2RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownHumidity1": 1, "LastKnownHumidity1RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownHumidity2": 1, "LastKnownHumidity2RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastTripOdo": 1, "LastTripEndTs": "2025-01-05T02:20:21.6857218+01:00", "CanBusOdometerValueInMeters": 1 }, { "DeviceId": 1, "AssetId": 2, "AssetCode": "sample string 3", "AssetName": "sample string 4", "AssetPlateNumber": "sample string 5", "RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01: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-01-05T02:20:21.6857218+01:00" }, { "Name": "sample string 1", "Value": "sample string 2", "Timestamp": "2025-01-05T02:20:21.6857218+01:00" } ], "IoSignals": 1, "Hdop": 1.1, "Vdop": 1.1, "Satellites": 1, "ServerTimeStamp": "2025-01-05T02:20:21.6857218+01:00", "Weight1": 1, "Weight2": 1, "Humidity1": 1, "Humidity2": 1, "StateStartTimeStamp": "2025-01-05T02:20:21.6857218+01:00", "InsideGeofences": [ 1, 2 ], "InsideGeofenceLabels": [ "sample string 1", "sample string 2" ], "InsideGeofenceReferences": [ "sample string 1", "sample string 2" ], "LastKnownRtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownLatitude": 1.1, "LastKnownLongitude": 1.1, "LastKnownTemperatureInCelcius": 1.1, "LastKnownTemperatureRtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownTemperature2InCelcius": 1.1, "LastKnownTemperature2RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownFuelLevelInPercentage": 1, "LastKnownFuelLevelRtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownWeight1": 1, "LastKnownWeight1RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownWeight2": 1, "LastKnownWeight2RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownHumidity1": 1, "LastKnownHumidity1RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastKnownHumidity2": 1, "LastKnownHumidity2RtcBasedTimestamp": "2025-01-05T02:20:21.6857218+01:00", "LastTripOdo": 1, "LastTripEndTs": "2025-01-05T02:20:21.6857218+01:00", "CanBusOdometerValueInMeters": 1 } ], "Drivers": [ { "Nationality": "sample string 1", "DriverLicenceExpirationDate": "2025-01-05T02:20:21.6857218+01:00", "DateOfBirth": "2025-01-05T02:20:21.6857218+01:00", "MobilePhone": "sample string 2", "HomePhone": "sample string 3", "InactivationDate": "2025-01-05T02:20:21.6857218+01:00", "IdentificationCardNumber": "sample string 4", "DriversLicense": "sample string 5", "Qualification": "sample string 6", "Email": "sample string 7", "OfficePhone": "sample string 8", "CompanyPosition": "sample string 9", "IdentificationCardExpirationDate": "2025-01-05T02:20:21.6857218+01:00", "DriverEligibilityLevel": 64, "FkDepartmentId": 1, "DepartmentName": "sample string 10", "FkDefaultGarageId": 1, "DefaultGarageName": "sample string 11", "FkAgencyId": 1, "AgencyName": "sample string 12", "Id": 13, "LastName": "sample string 14", "FirstName": "sample string 15", "Tag": "sample string 16", "Alerts": [ "sample string 1", "sample string 2" ], "DriverGroups": [ 1, 2 ], "AssignedAssetCode": "sample string 17", "AssignedAssetStartDate": "2025-01-05T02:20:21.6857218+01:00", "AssignedAssetEndDate": "2025-01-05T02:20:21.6857218+01:00", "ErpCode": "sample string 19", "Comments": "sample string 20" }, { "Nationality": "sample string 1", "DriverLicenceExpirationDate": "2025-01-05T02:20:21.6857218+01:00", "DateOfBirth": "2025-01-05T02:20:21.6857218+01:00", "MobilePhone": "sample string 2", "HomePhone": "sample string 3", "InactivationDate": "2025-01-05T02:20:21.6857218+01:00", "IdentificationCardNumber": "sample string 4", "DriversLicense": "sample string 5", "Qualification": "sample string 6", "Email": "sample string 7", "OfficePhone": "sample string 8", "CompanyPosition": "sample string 9", "IdentificationCardExpirationDate": "2025-01-05T02:20:21.6857218+01:00", "DriverEligibilityLevel": 64, "FkDepartmentId": 1, "DepartmentName": "sample string 10", "FkDefaultGarageId": 1, "DefaultGarageName": "sample string 11", "FkAgencyId": 1, "AgencyName": "sample string 12", "Id": 13, "LastName": "sample string 14", "FirstName": "sample string 15", "Tag": "sample string 16", "Alerts": [ "sample string 1", "sample string 2" ], "DriverGroups": [ 1, 2 ], "AssignedAssetCode": "sample string 17", "AssignedAssetStartDate": "2025-01-05T02:20:21.6857218+01:00", "AssignedAssetEndDate": "2025-01-05T02:20:21.6857218+01:00", "ErpCode": "sample string 19", "Comments": "sample string 20" } ], "DriverName": "sample string 14,sample string 15", "DriverId": 13, "InProgress": true }
application/xml, text/xml
Sample:
<TripRestItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models"> <AssetId>4</AssetId> <BeginAddressAndPostalCode>sample string 12</BeginAddressAndPostalCode> <BeginCity>sample string 13</BeginCity> <BeginDateTime>2025-01-05T02:20:21.6857218+01:00</BeginDateTime> <BeginLabel>sample string 14</BeginLabel> <BeginLatitude>1.1</BeginLatitude> <BeginLongitude>1.1</BeginLongitude> <BeginMunicipality>sample string 18</BeginMunicipality> <BoundingDistanceInMetres>1.1</BoundingDistanceInMetres> <CalibratedOdoValueEnd>7</CalibratedOdoValueEnd> <CenterLatitude>1.1</CenterLatitude> <CenterLongitude>1.1</CenterLongitude> <Comment>sample string 11</Comment> <DeviceId>3</DeviceId> <Drivers> <DriverRestItem> <AgencyName>sample string 12</AgencyName> <Alerts xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Alerts> <AssignedAssetCode>sample string 17</AssignedAssetCode> <AssignedAssetEndDate>2025-01-05T02:20:21.6857218+01:00</AssignedAssetEndDate> <AssignedAssetStartDate>2025-01-05T02:20:21.6857218+01:00</AssignedAssetStartDate> <Comments>sample string 20</Comments> <CompanyPosition>sample string 9</CompanyPosition> <DateOfBirth>2025-01-05T02:20:21.6857218+01:00</DateOfBirth> <DefaultGarageName>sample string 11</DefaultGarageName> <DepartmentName>sample string 10</DepartmentName> <DriverEligibilityLevel>64</DriverEligibilityLevel> <DriverGroups xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </DriverGroups> <DriverLicenceExpirationDate>2025-01-05T02:20:21.6857218+01:00</DriverLicenceExpirationDate> <DriversLicense>sample string 5</DriversLicense> <Email>sample string 7</Email> <ErpCode>sample string 19</ErpCode> <FirstName>sample string 15</FirstName> <FkAgencyId>1</FkAgencyId> <FkDefaultGarageId>1</FkDefaultGarageId> <FkDepartmentId>1</FkDepartmentId> <HomePhone>sample string 3</HomePhone> <Id>13</Id> <IdentificationCardExpirationDate>2025-01-05T02:20:21.6857218+01:00</IdentificationCardExpirationDate> <IdentificationCardNumber>sample string 4</IdentificationCardNumber> <InactivationDate>2025-01-05T02:20:21.6857218+01:00</InactivationDate> <LastName>sample string 14</LastName> <MobilePhone>sample string 2</MobilePhone> <Nationality>sample string 1</Nationality> <OfficePhone>sample string 8</OfficePhone> <Qualification>sample string 6</Qualification> <Tag>sample string 16</Tag> </DriverRestItem> <DriverRestItem> <AgencyName>sample string 12</AgencyName> <Alerts xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Alerts> <AssignedAssetCode>sample string 17</AssignedAssetCode> <AssignedAssetEndDate>2025-01-05T02:20:21.6857218+01:00</AssignedAssetEndDate> <AssignedAssetStartDate>2025-01-05T02:20:21.6857218+01:00</AssignedAssetStartDate> <Comments>sample string 20</Comments> <CompanyPosition>sample string 9</CompanyPosition> <DateOfBirth>2025-01-05T02:20:21.6857218+01:00</DateOfBirth> <DefaultGarageName>sample string 11</DefaultGarageName> <DepartmentName>sample string 10</DepartmentName> <DriverEligibilityLevel>64</DriverEligibilityLevel> <DriverGroups xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </DriverGroups> <DriverLicenceExpirationDate>2025-01-05T02:20:21.6857218+01:00</DriverLicenceExpirationDate> <DriversLicense>sample string 5</DriversLicense> <Email>sample string 7</Email> <ErpCode>sample string 19</ErpCode> <FirstName>sample string 15</FirstName> <FkAgencyId>1</FkAgencyId> <FkDefaultGarageId>1</FkDefaultGarageId> <FkDepartmentId>1</FkDepartmentId> <HomePhone>sample string 3</HomePhone> <Id>13</Id> <IdentificationCardExpirationDate>2025-01-05T02:20:21.6857218+01:00</IdentificationCardExpirationDate> <IdentificationCardNumber>sample string 4</IdentificationCardNumber> <InactivationDate>2025-01-05T02:20:21.6857218+01:00</InactivationDate> <LastName>sample string 14</LastName> <MobilePhone>sample string 2</MobilePhone> <Nationality>sample string 1</Nationality> <OfficePhone>sample string 8</OfficePhone> <Qualification>sample string 6</Qualification> <Tag>sample string 16</Tag> </DriverRestItem> </Drivers> <EndAddressAndPostalCode>sample string 15</EndAddressAndPostalCode> <EndCity>sample string 16</EndCity> <EndDateTime>2025-01-05T02:20:21.6857218+01:00</EndDateTime> <EndLabel>sample string 17</EndLabel> <EndLatitude>1.1</EndLatitude> <EndLongitude>1.1</EndLongitude> <EndMunicipality>sample string 19</EndMunicipality> <Id>2</Id> <InProgress>true</InProgress> <IsPrivate>true</IsPrivate> <Locations> <LocationRestItem> <AssetCode>sample string 3</AssetCode> <AssetId>2</AssetId> <AssetName>sample string 4</AssetName> <AssetPlateNumber>sample string 5</AssetPlateNumber> <CanBusOdometerValueInMeters>1</CanBusOdometerValueInMeters> <CustomFields> <CustomFieldRestItem> <Name>sample string 1</Name> <Timestamp>2025-01-05T02:20:21.6857218+01:00</Timestamp> <Value>sample string 2</Value> </CustomFieldRestItem> <CustomFieldRestItem> <Name>sample string 1</Name> <Timestamp>2025-01-05T02:20:21.6857218+01:00</Timestamp> <Value>sample string 2</Value> </CustomFieldRestItem> </CustomFields> <DeviceId>1</DeviceId> <DeviceState>Unknown</DeviceState> <Driver>sample string 9</Driver> <ExternalBatteryLevelInVoltage>1.1</ExternalBatteryLevelInVoltage> <ExternalPowerSignal>true</ExternalPowerSignal> <FuelLevelInPercentage>1</FuelLevelInPercentage> <HasGpsFix>true</HasGpsFix> <Hdop>1.1</Hdop> <HeadingInDegrees>1</HeadingInDegrees> <Humidity1>1</Humidity1> <Humidity2>1</Humidity2> <IgnitionSignal>true</IgnitionSignal> <InsideGeofenceLabels xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </InsideGeofenceLabels> <InsideGeofenceReferences xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </InsideGeofenceReferences> <InsideGeofences xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </InsideGeofences> <IoSignals>1</IoSignals> <LastKnownFuelLevelInPercentage>1</LastKnownFuelLevelInPercentage> <LastKnownFuelLevelRtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownFuelLevelRtcBasedTimestamp> <LastKnownHumidity1>1</LastKnownHumidity1> <LastKnownHumidity1RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownHumidity1RtcBasedTimestamp> <LastKnownHumidity2>1</LastKnownHumidity2> <LastKnownHumidity2RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownHumidity2RtcBasedTimestamp> <LastKnownLatitude>1.1</LastKnownLatitude> <LastKnownLongitude>1.1</LastKnownLongitude> <LastKnownRtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownRtcBasedTimestamp> <LastKnownTemperature2InCelcius>1.1</LastKnownTemperature2InCelcius> <LastKnownTemperature2RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownTemperature2RtcBasedTimestamp> <LastKnownTemperatureInCelcius>1.1</LastKnownTemperatureInCelcius> <LastKnownTemperatureRtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownTemperatureRtcBasedTimestamp> <LastKnownWeight1>1</LastKnownWeight1> <LastKnownWeight1RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownWeight1RtcBasedTimestamp> <LastKnownWeight2>1</LastKnownWeight2> <LastKnownWeight2RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownWeight2RtcBasedTimestamp> <LastTripEndTs>2025-01-05T02:20:21.6857218+01:00</LastTripEndTs> <LastTripOdo>1</LastTripOdo> <Latitude>1.1</Latitude> <LocationType>Unknown</LocationType> <Longitude>1.1</Longitude> <OdoValueInMeters>7</OdoValueInMeters> <RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</RtcBasedTimestamp> <Satellites>1</Satellites> <ServerTimeStamp>2025-01-05T02:20:21.6857218+01:00</ServerTimeStamp> <SpeedInKph>1</SpeedInKph> <StateStartTimeStamp>2025-01-05T02:20:21.6857218+01:00</StateStartTimeStamp> <TagScan>sample string 10</TagScan> <Temperature2InCelcius>1.1</Temperature2InCelcius> <TemperatureInCelcius>1.1</TemperatureInCelcius> <Vdop>1.1</Vdop> <Weight1>1</Weight1> <Weight2>1</Weight2> </LocationRestItem> <LocationRestItem> <AssetCode>sample string 3</AssetCode> <AssetId>2</AssetId> <AssetName>sample string 4</AssetName> <AssetPlateNumber>sample string 5</AssetPlateNumber> <CanBusOdometerValueInMeters>1</CanBusOdometerValueInMeters> <CustomFields> <CustomFieldRestItem> <Name>sample string 1</Name> <Timestamp>2025-01-05T02:20:21.6857218+01:00</Timestamp> <Value>sample string 2</Value> </CustomFieldRestItem> <CustomFieldRestItem> <Name>sample string 1</Name> <Timestamp>2025-01-05T02:20:21.6857218+01:00</Timestamp> <Value>sample string 2</Value> </CustomFieldRestItem> </CustomFields> <DeviceId>1</DeviceId> <DeviceState>Unknown</DeviceState> <Driver>sample string 9</Driver> <ExternalBatteryLevelInVoltage>1.1</ExternalBatteryLevelInVoltage> <ExternalPowerSignal>true</ExternalPowerSignal> <FuelLevelInPercentage>1</FuelLevelInPercentage> <HasGpsFix>true</HasGpsFix> <Hdop>1.1</Hdop> <HeadingInDegrees>1</HeadingInDegrees> <Humidity1>1</Humidity1> <Humidity2>1</Humidity2> <IgnitionSignal>true</IgnitionSignal> <InsideGeofenceLabels xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </InsideGeofenceLabels> <InsideGeofenceReferences xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </InsideGeofenceReferences> <InsideGeofences xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </InsideGeofences> <IoSignals>1</IoSignals> <LastKnownFuelLevelInPercentage>1</LastKnownFuelLevelInPercentage> <LastKnownFuelLevelRtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownFuelLevelRtcBasedTimestamp> <LastKnownHumidity1>1</LastKnownHumidity1> <LastKnownHumidity1RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownHumidity1RtcBasedTimestamp> <LastKnownHumidity2>1</LastKnownHumidity2> <LastKnownHumidity2RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownHumidity2RtcBasedTimestamp> <LastKnownLatitude>1.1</LastKnownLatitude> <LastKnownLongitude>1.1</LastKnownLongitude> <LastKnownRtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownRtcBasedTimestamp> <LastKnownTemperature2InCelcius>1.1</LastKnownTemperature2InCelcius> <LastKnownTemperature2RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownTemperature2RtcBasedTimestamp> <LastKnownTemperatureInCelcius>1.1</LastKnownTemperatureInCelcius> <LastKnownTemperatureRtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownTemperatureRtcBasedTimestamp> <LastKnownWeight1>1</LastKnownWeight1> <LastKnownWeight1RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownWeight1RtcBasedTimestamp> <LastKnownWeight2>1</LastKnownWeight2> <LastKnownWeight2RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</LastKnownWeight2RtcBasedTimestamp> <LastTripEndTs>2025-01-05T02:20:21.6857218+01:00</LastTripEndTs> <LastTripOdo>1</LastTripOdo> <Latitude>1.1</Latitude> <LocationType>Unknown</LocationType> <Longitude>1.1</Longitude> <OdoValueInMeters>7</OdoValueInMeters> <RtcBasedTimestamp>2025-01-05T02:20:21.6857218+01:00</RtcBasedTimestamp> <Satellites>1</Satellites> <ServerTimeStamp>2025-01-05T02:20:21.6857218+01:00</ServerTimeStamp> <SpeedInKph>1</SpeedInKph> <StateStartTimeStamp>2025-01-05T02:20:21.6857218+01:00</StateStartTimeStamp> <TagScan>sample string 10</TagScan> <Temperature2InCelcius>1.1</Temperature2InCelcius> <TemperatureInCelcius>1.1</TemperatureInCelcius> <Vdop>1.1</Vdop> <Weight1>1</Weight1> <Weight2>1</Weight2> </LocationRestItem> </Locations> <Method>Script</Method> <PrivateDistanceInKilometers>10.1</PrivateDistanceInKilometers> <SegmentDistanceInKilometers>8.1</SegmentDistanceInKilometers> <TripId>2</TripId> </TripRestItem>