GET v1/Assets
returns all the assets that belong to the customerID of the user
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Lhp.EquipmentIntelligence.WebApi.Models.V1.AssetModelName | Description | Type | Additional 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
[ { "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-11-21T06:29:33.7941382+00:00", "LastReceivedReportTimeStamp": "2024-11-21T06:29:33.7941382+00:00" }, { "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-11-21T06:29:33.7941382+00:00", "LastReceivedReportTimeStamp": "2024-11-21T06:29:33.7941382+00:00" } ]
application/xml, text/xml
<ArrayOfAssetModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AssetModel> <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-11-21T06:29:33.7941382+00:00</LastReportedOnTimeStamp> <LastReceivedReportTimeStamp>2024-11-21T06:29:33.7941382+00:00</LastReceivedReportTimeStamp> </AssetModel> <AssetModel> <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-11-21T06:29:33.7941382+00:00</LastReportedOnTimeStamp> <LastReceivedReportTimeStamp>2024-11-21T06:29:33.7941382+00:00</LastReceivedReportTimeStamp> </AssetModel> </ArrayOfAssetModel>