GET v2/Assets?Vin={Vin}&AsCustomerId={AsCustomerId}&CustomerAssetStatus={CustomerAssetStatus}&SearchSubCustomers={SearchSubCustomers}

Returns all the assets owned by the customer

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Vin

The VIN to match when querying assets.

string

None.

AsCustomerId

Customer ID to query assets as.

integer

None.

CustomerAssetStatus

Filter by customer asset status

Lhp.EquipmentIntelligence.CustomerAssetStatuses

None.

SearchSubCustomers

If true, the query will also return entities belonging to child customers of the requested customer.

boolean

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Lhp.EquipmentIntelligence.WebApi.Client.Models.Asset
NameDescriptionTypeAdditional information
AssetId

The asset ID

integer

None.

TcuId

The TCU ID

integer

None.

OemEquipmentModelId

The OEM equipment model ID

integer

None.

OemEquipmentModelName

The OEM equipment model name

string

None.

CustomerAssetStatusId

The customer asset status ID

Lhp.EquipmentIntelligence.CustomerAssetStatuses

None.

Name

The asset Name

string

None.

Make

The asset make

string

None.

Model

The asset model

string

None.

Year

The asset year

string

None.

SerialNumber

The asset serial number

string

None.

Vin

The asset VIN

string

None.

UniqueExternalId

The asset's unique external identifier

string

None.

Location

The asset's last reported location

Lhp.EquipmentIntelligence.WebApi.Client.Models.Coordinate

None.

OwningCustomerId

ID of the Customer that currently owns this asset.

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AssetId": 1,
    "TcuId": 1,
    "OemEquipmentModelId": 1,
    "OemEquipmentModelName": "sample string 2",
    "CustomerAssetStatusId": 0,
    "Name": "sample string 3",
    "Make": "sample string 4",
    "Model": "sample string 5",
    "Year": "sample string 6",
    "SerialNumber": "sample string 7",
    "Vin": "sample string 8",
    "UniqueExternalId": "sample string 9",
    "Location": {
      "Latitude": 1.1,
      "Longitude": 2.1,
      "Timestamp": "2024-09-07T17:52:52.4926192+00:00"
    },
    "OwningCustomerId": 1
  },
  {
    "AssetId": 1,
    "TcuId": 1,
    "OemEquipmentModelId": 1,
    "OemEquipmentModelName": "sample string 2",
    "CustomerAssetStatusId": 0,
    "Name": "sample string 3",
    "Make": "sample string 4",
    "Model": "sample string 5",
    "Year": "sample string 6",
    "SerialNumber": "sample string 7",
    "Vin": "sample string 8",
    "UniqueExternalId": "sample string 9",
    "Location": {
      "Latitude": 1.1,
      "Longitude": 2.1,
      "Timestamp": "2024-09-07T17:52:52.4926192+00:00"
    },
    "OwningCustomerId": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfAsset xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Asset>
    <AssetId>1</AssetId>
    <TcuId>1</TcuId>
    <OemEquipmentModelId>1</OemEquipmentModelId>
    <OemEquipmentModelName>sample string 2</OemEquipmentModelName>
    <CustomerAssetStatusId>None</CustomerAssetStatusId>
    <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>
    <UniqueExternalId>sample string 9</UniqueExternalId>
    <Location>
      <Latitude>1.1</Latitude>
      <Longitude>2.1</Longitude>
      <Timestamp>2024-09-07T17:52:52.4926192+00:00</Timestamp>
    </Location>
    <OwningCustomerId>1</OwningCustomerId>
  </Asset>
  <Asset>
    <AssetId>1</AssetId>
    <TcuId>1</TcuId>
    <OemEquipmentModelId>1</OemEquipmentModelId>
    <OemEquipmentModelName>sample string 2</OemEquipmentModelName>
    <CustomerAssetStatusId>None</CustomerAssetStatusId>
    <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>
    <UniqueExternalId>sample string 9</UniqueExternalId>
    <Location>
      <Latitude>1.1</Latitude>
      <Longitude>2.1</Longitude>
      <Timestamp>2024-09-07T17:52:52.4926192+00:00</Timestamp>
    </Location>
    <OwningCustomerId>1</OwningCustomerId>
  </Asset>
</ArrayOfAsset>