GET v1/Assets/{id}

Gets the specified id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Lhp.EquipmentIntelligence.WebApi.Models.V1.AssetModel
NameDescriptionTypeAdditional information
AssetId

Unique ID of the Asset

integer

None.

TcuId

Unique ID of the TCU attached to the Asset

integer

None.

OwnerCustomerId

ID of the Customer that owns the asset

integer

None.

OemEquipmentModelId

ID of the equipment model of the asset

integer

None.

Name

Name of the asset

string

None.

Make

Make of the asset

string

None.

Model

Model of the asset

string

None.

Year

Model year of the asset

string

None.

SerialNumber

Serial number identifier for the asset

string

None.

Vin

Vehicle identification number of the asset.

string

None.

IsExternalAsset

When true indicates that the asset is managed by an external system.

boolean

None.

UniqueExternalId

Unique identifier used by the external system.

string

None.

LastPositionLog

Position information for the asset.

Lhp.EquipmentIntelligence.WebApi.Models.V1.PositionLogModel

None.

LastReportedOnTimeStamp

Timestamp of the last time a report was received from the asset. This is the time of report delivery.

date

None.

LastReceivedReportTimeStamp

Timestamp of the last report received from the asset. This is the time of the event recorded by the device.

date

None.

Response Formats

application/json, text/json

Sample:
{
  "AssetId": 1,
  "TcuId": 1,
  "OwnerCustomerId": 2,
  "OemEquipmentModelId": 1,
  "Name": "sample string 3",
  "Make": "sample string 4",
  "Model": "sample string 5",
  "Year": "sample string 6",
  "SerialNumber": "sample string 7",
  "Vin": "sample string 8",
  "IsExternalAsset": true,
  "UniqueExternalId": "sample string 10",
  "LastPositionLog": {
    "Latitude": 1.1,
    "Longitude": 1.1
  },
  "LastReportedOnTimeStamp": "2024-12-10T02:55:14.3229665+00:00",
  "LastReceivedReportTimeStamp": "2024-12-10T02:55:14.3229665+00:00"
}

application/xml, text/xml

Sample:
<AssetModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <AssetId>1</AssetId>
  <TcuId>1</TcuId>
  <OwnerCustomerId>2</OwnerCustomerId>
  <OemEquipmentModelId>1</OemEquipmentModelId>
  <Name>sample string 3</Name>
  <Make>sample string 4</Make>
  <Model>sample string 5</Model>
  <Year>sample string 6</Year>
  <SerialNumber>sample string 7</SerialNumber>
  <Vin>sample string 8</Vin>
  <IsExternalAsset>true</IsExternalAsset>
  <UniqueExternalId>sample string 10</UniqueExternalId>
  <LastPositionLog>
    <Latitude>1.1</Latitude>
    <Longitude>1.1</Longitude>
  </LastPositionLog>
  <LastReportedOnTimeStamp>2024-12-10T02:55:14.3229665+00:00</LastReportedOnTimeStamp>
  <LastReceivedReportTimeStamp>2024-12-10T02:55:14.3229665+00:00</LastReceivedReportTimeStamp>
</AssetModel>