GET v1/aemp/v1

Returns a version 1 AEMP xml file result

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

LHPT.Backend.Aemp.Core.V1.Fleet
NameDescriptionTypeAdditional information
Version

string

None.

Equipment

Collection of LHPT.Backend.Aemp.Core.V1.Equipment

None.

SnapshotTime

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "sample string 1",
  "Equipment": [
    {
      "EquipmentHeader": {
        "Make": "sample string 1",
        "Model": "sample string 2",
        "EquipmentID": "sample string 3",
        "SerialNumber": "sample string 4",
        "UnitInstallDateTime": "sample string 5"
      },
      "Location": {
        "Altitude": {
          "AltitudeUnits": "sample string 2"
        },
        "DateTime": "sample string 2",
        "Latitude": "sample string 3",
        "Longitude": "sample string 4"
      },
      "CumulativeOperatingHours": {
        "Hour": "sample string 2",
        "DateTime": "sample string 3"
      },
      "FuelUsed": {
        "FuelConsumed": "sample string 3",
        "FuelUnits": "sample string 4",
        "DateTime": "sample string 5"
      },
      "FuelUsedLast24": {
        "FuelConsumed": "sample string 3",
        "FuelUnits": "sample string 4",
        "DateTime": "sample string 5"
      },
      "Distance": {
        "Odometer": "sample string 3",
        "OdometerUnits": "sample string 4",
        "DateTime": "sample string 5"
      },
      "CustomDataPoints": [
        {
          "Name": "sample string 2",
          "Units": "sample string 3",
          "Value": "sample string 4",
          "DateTime": "sample string 5"
        },
        {
          "Name": "sample string 2",
          "Units": "sample string 3",
          "Value": "sample string 4",
          "DateTime": "sample string 5"
        }
      ],
      "CustomFields": [
        {
          "Name": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "Name": "sample string 1",
          "Value": "sample string 2"
        }
      ],
      "AdditionalProperties": [
        {
          "Name": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "Name": "sample string 1",
          "Value": "sample string 2"
        }
      ]
    },
    {
      "EquipmentHeader": {
        "Make": "sample string 1",
        "Model": "sample string 2",
        "EquipmentID": "sample string 3",
        "SerialNumber": "sample string 4",
        "UnitInstallDateTime": "sample string 5"
      },
      "Location": {
        "Altitude": {
          "AltitudeUnits": "sample string 2"
        },
        "DateTime": "sample string 2",
        "Latitude": "sample string 3",
        "Longitude": "sample string 4"
      },
      "CumulativeOperatingHours": {
        "Hour": "sample string 2",
        "DateTime": "sample string 3"
      },
      "FuelUsed": {
        "FuelConsumed": "sample string 3",
        "FuelUnits": "sample string 4",
        "DateTime": "sample string 5"
      },
      "FuelUsedLast24": {
        "FuelConsumed": "sample string 3",
        "FuelUnits": "sample string 4",
        "DateTime": "sample string 5"
      },
      "Distance": {
        "Odometer": "sample string 3",
        "OdometerUnits": "sample string 4",
        "DateTime": "sample string 5"
      },
      "CustomDataPoints": [
        {
          "Name": "sample string 2",
          "Units": "sample string 3",
          "Value": "sample string 4",
          "DateTime": "sample string 5"
        },
        {
          "Name": "sample string 2",
          "Units": "sample string 3",
          "Value": "sample string 4",
          "DateTime": "sample string 5"
        }
      ],
      "CustomFields": [
        {
          "Name": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "Name": "sample string 1",
          "Value": "sample string 2"
        }
      ],
      "AdditionalProperties": [
        {
          "Name": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "Name": "sample string 1",
          "Value": "sample string 2"
        }
      ]
    }
  ],
  "SnapshotTime": "sample string 3"
}

application/xml, text/xml

Sample:
<Fleet version="sample string 1" snapshotTime="sample string 3" xmlns="http://schemas.aemp.org/fleet">
  <Equipment>
    <EquipmentHeader>
      <UnitInstallDateTime>sample string 5</UnitInstallDateTime>
      <Make>sample string 1</Make>
      <Model>sample string 2</Model>
      <EquipmentID>sample string 3</EquipmentID>
      <SerialNumber>sample string 4</SerialNumber>
    </EquipmentHeader>
    <Location datetime="sample string 2">
      <Latitude>sample string 3</Latitude>
      <Longitude>sample string 4</Longitude>
      <Altitude>
        <AltitudeUnits>sample string 2</AltitudeUnits>
      </Altitude>
    </Location>
    <CumulativeOperatingHours datetime="sample string 3">
      <Hour>sample string 2</Hour>
    </CumulativeOperatingHours>
    <FuelUsed datetime="sample string 5">
      <FuelUnits>sample string 4</FuelUnits>
      <FuelConsumed>sample string 3</FuelConsumed>
    </FuelUsed>
    <FuelUsedLast24 datetime="sample string 5">
      <FuelUnits>sample string 4</FuelUnits>
      <FuelConsumed>sample string 3</FuelConsumed>
    </FuelUsedLast24>
    <Distance datetime="sample string 5">
      <OdometerUnits>sample string 4</OdometerUnits>
      <Odometer>sample string 3</Odometer>
    </Distance>
    <CustomDataPoints>
      <CustomDataPoint name="sample string 2" units="sample string 3" datetime="sample string 5">sample string 4</CustomDataPoint>
      <CustomDataPoint name="sample string 2" units="sample string 3" datetime="sample string 5">sample string 4</CustomDataPoint>
    </CustomDataPoints>
    <CustomFields>
      <CustomField name="sample string 1">sample string 2</CustomField>
      <CustomField name="sample string 1">sample string 2</CustomField>
    </CustomFields>
    <AdditionalProperties>
      <AdditionalProperty name="sample string 1">sample string 2</AdditionalProperty>
      <AdditionalProperty name="sample string 1">sample string 2</AdditionalProperty>
    </AdditionalProperties>
  </Equipment>
  <Equipment>
    <EquipmentHeader>
      <UnitInstallDateTime>sample string 5</UnitInstallDateTime>
      <Make>sample string 1</Make>
      <Model>sample string 2</Model>
      <EquipmentID>sample string 3</EquipmentID>
      <SerialNumber>sample string 4</SerialNumber>
    </EquipmentHeader>
    <Location datetime="sample string 2">
      <Latitude>sample string 3</Latitude>
      <Longitude>sample string 4</Longitude>
      <Altitude>
        <AltitudeUnits>sample string 2</AltitudeUnits>
      </Altitude>
    </Location>
    <CumulativeOperatingHours datetime="sample string 3">
      <Hour>sample string 2</Hour>
    </CumulativeOperatingHours>
    <FuelUsed datetime="sample string 5">
      <FuelUnits>sample string 4</FuelUnits>
      <FuelConsumed>sample string 3</FuelConsumed>
    </FuelUsed>
    <FuelUsedLast24 datetime="sample string 5">
      <FuelUnits>sample string 4</FuelUnits>
      <FuelConsumed>sample string 3</FuelConsumed>
    </FuelUsedLast24>
    <Distance datetime="sample string 5">
      <OdometerUnits>sample string 4</OdometerUnits>
      <Odometer>sample string 3</Odometer>
    </Distance>
    <CustomDataPoints>
      <CustomDataPoint name="sample string 2" units="sample string 3" datetime="sample string 5">sample string 4</CustomDataPoint>
      <CustomDataPoint name="sample string 2" units="sample string 3" datetime="sample string 5">sample string 4</CustomDataPoint>
    </CustomDataPoints>
    <CustomFields>
      <CustomField name="sample string 1">sample string 2</CustomField>
      <CustomField name="sample string 1">sample string 2</CustomField>
    </CustomFields>
    <AdditionalProperties>
      <AdditionalProperty name="sample string 1">sample string 2</AdditionalProperty>
      <AdditionalProperty name="sample string 1">sample string 2</AdditionalProperty>
    </AdditionalProperties>
  </Equipment>
</Fleet>