GET Vehicle/DriveHistory/{id}

Get drive history for a vehicle

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

VehicleID

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Drive
NameDescriptionTypeAdditional information
DriveID

integer

None.

DriveName

string

None.

DriveStartVehiclePositionID

integer

None.

DriveEndVehiclePositionID

integer

None.

VehicleID

integer

None.

DriveStatus

byte

None.

Zero2Sixty

decimal number

None.

QuarterMile

decimal number

None.

MaxSpeed

integer

None.

AvgSpeed

integer

None.

MinJuice

decimal number

None.

AvgJuice

decimal number

None.

MaxJuice

decimal number

None.

DistanceBird

decimal number

None.

CO2KGSavedKG

integer

None.

TotalJuice

string

None.

StartMileage

decimal number

None.

EndMileage

decimal number

None.

TotalMileage

string

None.

TotalKM

string

None.

VPDrops

integer

None.

VPMisses

integer

None.

InsertDate

date

None.

whmi

decimal number

None.

FriendlyStatus

string

None.

ShortStartLocationName

string

None.

ShortEndLocationName

string

None.

StartLocationName

string

None.

EndLocationName

string

None.

DriveTime

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DriveID": 1,
    "DriveName": "sample string 2",
    "DriveStartVehiclePositionID": 3,
    "DriveEndVehiclePositionID": 4,
    "VehicleID": 5,
    "DriveStatus": 64,
    "Zero2Sixty": 7.1,
    "QuarterMile": 8.1,
    "MaxSpeed": 9,
    "AvgSpeed": 10,
    "MinJuice": 11.1,
    "AvgJuice": 12.1,
    "MaxJuice": 13.1,
    "DistanceBird": 14.1,
    "CO2KGSavedKG": 15,
    "TotalJuice": "sample string 16",
    "StartMileage": 17.1,
    "EndMileage": 18.1,
    "TotalMileage": "sample string 19",
    "TotalKM": "sample string 20",
    "VPDrops": 21,
    "VPMisses": 22,
    "InsertDate": "2018-12-18T06:44:49.8540366-08:00",
    "whmi": 24.1,
    "FriendlyStatus": "sample string 25",
    "ShortStartLocationName": "sample string 26",
    "ShortEndLocationName": "sample string 27",
    "StartLocationName": "sample string 28",
    "EndLocationName": "sample string 29",
    "DriveTime": "sample string 30"
  },
  {
    "DriveID": 1,
    "DriveName": "sample string 2",
    "DriveStartVehiclePositionID": 3,
    "DriveEndVehiclePositionID": 4,
    "VehicleID": 5,
    "DriveStatus": 64,
    "Zero2Sixty": 7.1,
    "QuarterMile": 8.1,
    "MaxSpeed": 9,
    "AvgSpeed": 10,
    "MinJuice": 11.1,
    "AvgJuice": 12.1,
    "MaxJuice": 13.1,
    "DistanceBird": 14.1,
    "CO2KGSavedKG": 15,
    "TotalJuice": "sample string 16",
    "StartMileage": 17.1,
    "EndMileage": 18.1,
    "TotalMileage": "sample string 19",
    "TotalKM": "sample string 20",
    "VPDrops": 21,
    "VPMisses": 22,
    "InsertDate": "2018-12-18T06:44:49.8540366-08:00",
    "whmi": 24.1,
    "FriendlyStatus": "sample string 25",
    "ShortStartLocationName": "sample string 26",
    "ShortEndLocationName": "sample string 27",
    "StartLocationName": "sample string 28",
    "EndLocationName": "sample string 29",
    "DriveTime": "sample string 30"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDrive xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CreatorsAPI.Models">
  <Drive>
    <AvgJuice>12.1</AvgJuice>
    <AvgSpeed>10</AvgSpeed>
    <CO2KGSavedKG>15</CO2KGSavedKG>
    <DistanceBird>14.1</DistanceBird>
    <DriveEndVehiclePositionID>4</DriveEndVehiclePositionID>
    <DriveID>1</DriveID>
    <DriveName>sample string 2</DriveName>
    <DriveStartVehiclePositionID>3</DriveStartVehiclePositionID>
    <DriveStatus>64</DriveStatus>
    <DriveTime>sample string 30</DriveTime>
    <EndLocationName>sample string 29</EndLocationName>
    <EndMileage>18.1</EndMileage>
    <FriendlyStatus>sample string 25</FriendlyStatus>
    <InsertDate>2018-12-18T06:44:49.8540366-08:00</InsertDate>
    <MaxJuice>13.1</MaxJuice>
    <MaxSpeed>9</MaxSpeed>
    <MinJuice>11.1</MinJuice>
    <QuarterMile>8.1</QuarterMile>
    <ShortEndLocationName>sample string 27</ShortEndLocationName>
    <ShortStartLocationName>sample string 26</ShortStartLocationName>
    <StartLocationName>sample string 28</StartLocationName>
    <StartMileage>17.1</StartMileage>
    <TotalJuice>sample string 16</TotalJuice>
    <TotalKM>sample string 20</TotalKM>
    <TotalMileage>sample string 19</TotalMileage>
    <VPDrops>21</VPDrops>
    <VPMisses>22</VPMisses>
    <VehicleID>5</VehicleID>
    <Zero2Sixty>7.1</Zero2Sixty>
    <whmi>24.1</whmi>
  </Drive>
  <Drive>
    <AvgJuice>12.1</AvgJuice>
    <AvgSpeed>10</AvgSpeed>
    <CO2KGSavedKG>15</CO2KGSavedKG>
    <DistanceBird>14.1</DistanceBird>
    <DriveEndVehiclePositionID>4</DriveEndVehiclePositionID>
    <DriveID>1</DriveID>
    <DriveName>sample string 2</DriveName>
    <DriveStartVehiclePositionID>3</DriveStartVehiclePositionID>
    <DriveStatus>64</DriveStatus>
    <DriveTime>sample string 30</DriveTime>
    <EndLocationName>sample string 29</EndLocationName>
    <EndMileage>18.1</EndMileage>
    <FriendlyStatus>sample string 25</FriendlyStatus>
    <InsertDate>2018-12-18T06:44:49.8540366-08:00</InsertDate>
    <MaxJuice>13.1</MaxJuice>
    <MaxSpeed>9</MaxSpeed>
    <MinJuice>11.1</MinJuice>
    <QuarterMile>8.1</QuarterMile>
    <ShortEndLocationName>sample string 27</ShortEndLocationName>
    <ShortStartLocationName>sample string 26</ShortStartLocationName>
    <StartLocationName>sample string 28</StartLocationName>
    <StartMileage>17.1</StartMileage>
    <TotalJuice>sample string 16</TotalJuice>
    <TotalKM>sample string 20</TotalKM>
    <TotalMileage>sample string 19</TotalMileage>
    <VPDrops>21</VPDrops>
    <VPMisses>22</VPMisses>
    <VehicleID>5</VehicleID>
    <Zero2Sixty>7.1</Zero2Sixty>
    <whmi>24.1</whmi>
  </Drive>
</ArrayOfDrive>