GET v2/AssetReportEvents

Gets asset report events.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ReportEventTypeId

Indicates the type of report event to retrieve.

integer

None.

ReportEventTypeIds

Indicates the types of report events to retrieve.

Collection of integer

None.

Vin

The VIN to match when querying assets.

string

None.

StartDateTime

The beginning date from which to retrieve ReportEvents.

date

None.

EndDateTime

The end date from which to retrieve ReportEvents.

date

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Lhp.EquipmentIntelligence.WebApi.Client.Models.AssetReportEvent
NameDescriptionTypeAdditional information
AssetReportEventId

Unique identifier for an instance of an AssetReportEvent.

integer

None.

AssetId

ID of the Asset that has experienced an event.

integer

None.

ReportEventTypeId

ID of the type of the event experienced.

integer

None.

AssetName

Friendly name for the asset.

string

None.

Vin

Vehicle Identification Number.

string

None.

Timestamp

Time of the event.

date

None.

Latitude

Latitude (in degrees) of the asset when the event was experienced.

decimal number

None.

Longitude

Longitude (in degrees) of the asset when the event was experienced.

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AssetReportEventId": 1,
    "AssetId": 2,
    "ReportEventTypeId": 3,
    "AssetName": "sample string 4",
    "Vin": "sample string 5",
    "Timestamp": "2024-10-22T08:58:03.5821333+00:00",
    "Latitude": 1.1,
    "Longitude": 1.1
  },
  {
    "AssetReportEventId": 1,
    "AssetId": 2,
    "ReportEventTypeId": 3,
    "AssetName": "sample string 4",
    "Vin": "sample string 5",
    "Timestamp": "2024-10-22T08:58:03.5821333+00:00",
    "Latitude": 1.1,
    "Longitude": 1.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfAssetReportEvent xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <AssetReportEvent>
    <AssetReportEventId>1</AssetReportEventId>
    <AssetId>2</AssetId>
    <ReportEventTypeId>3</ReportEventTypeId>
    <AssetName>sample string 4</AssetName>
    <Vin>sample string 5</Vin>
    <Timestamp>2024-10-22T08:58:03.5821333+00:00</Timestamp>
    <Latitude>1.1</Latitude>
    <Longitude>1.1</Longitude>
  </AssetReportEvent>
  <AssetReportEvent>
    <AssetReportEventId>1</AssetReportEventId>
    <AssetId>2</AssetId>
    <ReportEventTypeId>3</ReportEventTypeId>
    <AssetName>sample string 4</AssetName>
    <Vin>sample string 5</Vin>
    <Timestamp>2024-10-22T08:58:03.5821333+00:00</Timestamp>
    <Latitude>1.1</Latitude>
    <Longitude>1.1</Longitude>
  </AssetReportEvent>
</ArrayOfAssetReportEvent>