GET Vehicle/DriveEnergy/{id}

Get information energy use for a specfic drive

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

DriveID

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of DriveEnergyUsage
NameDescriptionTypeAdditional information
InsertDate

date

None.

battery_current

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "InsertDate": "2018-10-15T06:53:06.3273019-07:00",
    "battery_current": 2.0
  },
  {
    "InsertDate": "2018-10-15T06:53:06.3273019-07:00",
    "battery_current": 2.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfDriveEnergyUsage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CreatorsAPI.Models">
  <DriveEnergyUsage>
    <InsertDate>2018-10-15T06:53:06.3273019-07:00</InsertDate>
    <battery_current>2</battery_current>
  </DriveEnergyUsage>
  <DriveEnergyUsage>
    <InsertDate>2018-10-15T06:53:06.3273019-07:00</InsertDate>
    <battery_current>2</battery_current>
  </DriveEnergyUsage>
</ArrayOfDriveEnergyUsage>