Reference for https://api.silentpassenger.com/rest/v2/{APIKEY}/Vehicles?userid={USERID}

Get list of vehicles that are in the user's subgroup and user has chosen to view.

Url: https://api.silentpassenger.com/rest/v2/{APIKEY}/Vehicles?userid={USERID}

HTTP Method: GET

Message direction Format Body
Request N/A The Request body is empty.
Response Xml Example,Schema
Response Json Example

The following is an example response Xml body:

<ArrayOfDCVehicle xmlns="http://schemas.datacontract.org/2004/07/VTS.API.DataContracts">
  <DCVehicle>
    <Active>true</Active>
    <AssignID>2147483647</AssignID>
    <AssignTime>1999-05-31T11:20:00</AssignTime>
    <City>String content</City>
    <CumHours>1.26743237E+15</CumHours>
    <CumHoursThru>1999-05-31T11:20:00</CumHoursThru>
    <CurrentIP>String content</CurrentIP>
    <DTCVersion>2147483647</DTCVersion>
    <DriverName>String content</DriverName>
    <FMIPassword>String content</FMIPassword>
    <FirmwareVersion>1.26743237E+15</FirmwareVersion>
    <GPSIP>String content</GPSIP>
    <GPSType>2147483647</GPSType>
    <GroupName>String content</GroupName>
    <HasGarmin>true</HasGarmin>
    <Heading>1.26743233E+15</Heading>
    <IO4Flip>true</IO4Flip>
    <IgnitionIO>2147483647</IgnitionIO>
    <In1Flip>true</In1Flip>
    <In2Flip>true</In2Flip>
    <In3Flip>true</In3Flip>
    <Latitude>1.26743233E+15</Latitude>
    <Longitude>1.26743233E+15</Longitude>
    <MobileGroupID>2147483647</MobileGroupID>
    <Mode>2147483647</Mode>
    <ModeStartTime>1999-05-31T11:20:00</ModeStartTime>
    <MostRecentIOStatesID>9223372036854775807</MostRecentIOStatesID>
    <MostRecentLocationID>9223372036854775807</MostRecentLocationID>
    <MostRecentMovement>1999-05-31T11:20:00</MostRecentMovement>
    <MostRecentNoGPS>1999-05-31T11:20:00</MostRecentNoGPS>
    <Odometer>1.26743237E+15</Odometer>
    <PTOAvailable>true</PTOAvailable>
    <PanicEnabled>true</PanicEnabled>
    <PingInterval>2147483647</PingInterval>
    <PlateNumber>String content</PlateNumber>
    <ReadingTime>1999-05-31T11:20:00</ReadingTime>
    <ResetableHours>1.26743237E+15</ResetableHours>
    <Speed>1.26743233E+15</Speed>
    <SpeedGaugeEnable>true</SpeedGaugeEnable>
    <StartOfStopID>9223372036854775807</StartOfStopID>
    <StartOfStopTime>1999-05-31T11:20:00</StartOfStopTime>
    <StartTime>1999-05-31T11:20:00</StartTime>
    <State>String content</State>
    <StatusID>2147483647</StatusID>
    <Street>String content</Street>
    <SubGroupID>2147483647</SubGroupID>
    <SubGroupName>String content</SubGroupName>
    <TLCReporting>true</TLCReporting>
    <TemperaturePolling>true</TemperaturePolling>
    <TimeZoneCode>2147483647</TimeZoneCode>
    <TripOdometer>1.26743237E+15</TripOdometer>
    <VehicleID>2147483647</VehicleID>
    <VehicleName>String content</VehicleName>
    <VehicleType>String content</VehicleType>
    <Zip>String content</Zip>
    <notes>String content</notes>
    <vin>String content</vin>
  </DCVehicle>
  <DCVehicle>
    <Active>true</Active>
    <AssignID>2147483647</AssignID>
    <AssignTime>1999-05-31T11:20:00</AssignTime>
    <City>String content</City>
    <CumHours>1.26743237E+15</CumHours>
    <CumHoursThru>1999-05-31T11:20:00</CumHoursThru>
    <CurrentIP>String content</CurrentIP>
    <DTCVersion>2147483647</DTCVersion>
    <DriverName>String content</DriverName>
    <FMIPassword>String content</FMIPassword>
    <FirmwareVersion>1.26743237E+15</FirmwareVersion>
    <GPSIP>String content</GPSIP>
    <GPSType>2147483647</GPSType>
    <GroupName>String content</GroupName>
    <HasGarmin>true</HasGarmin>
    <Heading>1.26743233E+15</Heading>
    <IO4Flip>true</IO4Flip>
    <IgnitionIO>2147483647</IgnitionIO>
    <In1Flip>true</In1Flip>
    <In2Flip>true</In2Flip>
    <In3Flip>true</In3Flip>
    <Latitude>1.26743233E+15</Latitude>
    <Longitude>1.26743233E+15</Longitude>
    <MobileGroupID>2147483647</MobileGroupID>
    <Mode>2147483647</Mode>
    <ModeStartTime>1999-05-31T11:20:00</ModeStartTime>
    <MostRecentIOStatesID>9223372036854775807</MostRecentIOStatesID>
    <MostRecentLocationID>9223372036854775807</MostRecentLocationID>
    <MostRecentMovement>1999-05-31T11:20:00</MostRecentMovement>
    <MostRecentNoGPS>1999-05-31T11:20:00</MostRecentNoGPS>
    <Odometer>1.26743237E+15</Odometer>
    <PTOAvailable>true</PTOAvailable>
    <PanicEnabled>true</PanicEnabled>
    <PingInterval>2147483647</PingInterval>
    <PlateNumber>String content</PlateNumber>
    <ReadingTime>1999-05-31T11:20:00</ReadingTime>
    <ResetableHours>1.26743237E+15</ResetableHours>
    <Speed>1.26743233E+15</Speed>
    <SpeedGaugeEnable>true</SpeedGaugeEnable>
    <StartOfStopID>9223372036854775807</StartOfStopID>
    <StartOfStopTime>1999-05-31T11:20:00</StartOfStopTime>
    <StartTime>1999-05-31T11:20:00</StartTime>
    <State>String content</State>
    <StatusID>2147483647</StatusID>
    <Street>String content</Street>
    <SubGroupID>2147483647</SubGroupID>
    <SubGroupName>String content</SubGroupName>
    <TLCReporting>true</TLCReporting>
    <TemperaturePolling>true</TemperaturePolling>
    <TimeZoneCode>2147483647</TimeZoneCode>
    <TripOdometer>1.26743237E+15</TripOdometer>
    <VehicleID>2147483647</VehicleID>
    <VehicleName>String content</VehicleName>
    <VehicleType>String content</VehicleType>
    <Zip>String content</Zip>
    <notes>String content</notes>
    <vin>String content</vin>
  </DCVehicle>
</ArrayOfDCVehicle>

The following is an example response Json body:

[{
	"Active":true,
	"AssignID":2147483647,
	"AssignTime":"\/Date(928164000000-0400)\/",
	"City":"String content",
	"CumHours":1.26743237E+15,
	"CumHoursThru":"\/Date(928164000000-0400)\/",
	"CurrentIP":"String content",
	"DTCVersion":2147483647,
	"DriverName":"String content",
	"FMIPassword":"String content",
	"FirmwareVersion":1.26743237E+15,
	"GPSIP":"String content",
	"GPSType":2147483647,
	"GroupName":"String content",
	"HasGarmin":true,
	"Heading":1.26743233E+15,
	"IO4Flip":true,
	"IgnitionIO":2147483647,
	"In1Flip":true,
	"In2Flip":true,
	"In3Flip":true,
	"Latitude":1.26743233E+15,
	"Longitude":1.26743233E+15,
	"MobileGroupID":2147483647,
	"Mode":2147483647,
	"ModeStartTime":"\/Date(928164000000-0400)\/",
	"MostRecentIOStatesID":9223372036854775807,
	"MostRecentLocationID":9223372036854775807,
	"MostRecentMovement":"\/Date(928164000000-0400)\/",
	"MostRecentNoGPS":"\/Date(928164000000-0400)\/",
	"Odometer":1.26743237E+15,
	"PTOAvailable":true,
	"PanicEnabled":true,
	"PingInterval":2147483647,
	"PlateNumber":"String content",
	"ReadingTime":"\/Date(928164000000-0400)\/",
	"ResetableHours":1.26743237E+15,
	"Speed":1.26743233E+15,
	"SpeedGaugeEnable":true,
	"StartOfStopID":9223372036854775807,
	"StartOfStopTime":"\/Date(928164000000-0400)\/",
	"StartTime":"\/Date(928164000000-0400)\/",
	"State":"String content",
	"StatusID":2147483647,
	"Street":"String content",
	"SubGroupID":2147483647,
	"SubGroupName":"String content",
	"TLCReporting":true,
	"TemperaturePolling":true,
	"TimeZoneCode":2147483647,
	"TripOdometer":1.26743237E+15,
	"VehicleID":2147483647,
	"VehicleName":"String content",
	"VehicleType":"String content",
	"Zip":"String content",
	"notes":"String content",
	"vin":"String content"
}]

The following is the response Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/VTS.API.DataContracts" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/VTS.API.DataContracts" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/VTS.API" />
  <xs:complexType name="ArrayOfDCVehicle">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="DCVehicle" nillable="true" type="tns:DCVehicle" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfDCVehicle" nillable="true" type="tns:ArrayOfDCVehicle" />
  <xs:complexType name="DCVehicle">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/VTS.API" base="q1:DataContractBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="Active" type="xs:boolean" />
          <xs:element minOccurs="0" name="AssignID" type="xs:int" />
          <xs:element minOccurs="0" name="AssignTime" type="xs:dateTime" />
          <xs:element minOccurs="0" name="City" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CumHours" type="xs:float" />
          <xs:element minOccurs="0" name="CumHoursThru" type="xs:dateTime" />
          <xs:element minOccurs="0" name="CurrentIP" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DTCVersion" type="xs:int" />
          <xs:element minOccurs="0" name="DriverName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="FMIPassword" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="FirmwareVersion" type="xs:float" />
          <xs:element minOccurs="0" name="GPSIP" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="GPSType" type="xs:int" />
          <xs:element minOccurs="0" name="GroupName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="HasGarmin" type="xs:boolean" />
          <xs:element minOccurs="0" name="Heading" type="xs:double" />
          <xs:element minOccurs="0" name="IO4Flip" type="xs:boolean" />
          <xs:element minOccurs="0" name="IgnitionIO" type="xs:int" />
          <xs:element minOccurs="0" name="In1Flip" type="xs:boolean" />
          <xs:element minOccurs="0" name="In2Flip" type="xs:boolean" />
          <xs:element minOccurs="0" name="In3Flip" type="xs:boolean" />
          <xs:element minOccurs="0" name="Latitude" type="xs:double" />
          <xs:element minOccurs="0" name="Longitude" type="xs:double" />
          <xs:element minOccurs="0" name="MobileGroupID" type="xs:int" />
          <xs:element minOccurs="0" name="Mode" type="xs:int" />
          <xs:element minOccurs="0" name="ModeStartTime" type="xs:dateTime" />
          <xs:element minOccurs="0" name="MostRecentIOStatesID" type="xs:long" />
          <xs:element minOccurs="0" name="MostRecentLocationID" type="xs:long" />
          <xs:element minOccurs="0" name="MostRecentMovement" type="xs:dateTime" />
          <xs:element minOccurs="0" name="MostRecentNoGPS" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Odometer" type="xs:float" />
          <xs:element minOccurs="0" name="PTOAvailable" type="xs:boolean" />
          <xs:element minOccurs="0" name="PanicEnabled" type="xs:boolean" />
          <xs:element minOccurs="0" name="PingInterval" type="xs:int" />
          <xs:element minOccurs="0" name="PlateNumber" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ReadingTime" type="xs:dateTime" />
          <xs:element minOccurs="0" name="ResetableHours" type="xs:float" />
          <xs:element minOccurs="0" name="Speed" type="xs:double" />
          <xs:element minOccurs="0" name="SpeedGaugeEnable" type="xs:boolean" />
          <xs:element minOccurs="0" name="StartOfStopID" type="xs:long" />
          <xs:element minOccurs="0" name="StartOfStopTime" type="xs:dateTime" />
          <xs:element minOccurs="0" name="StartTime" type="xs:dateTime" />
          <xs:element minOccurs="0" name="State" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="StatusID" type="xs:int" />
          <xs:element minOccurs="0" name="Street" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="SubGroupID" type="xs:int" />
          <xs:element minOccurs="0" name="SubGroupName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="TLCReporting" type="xs:boolean" />
          <xs:element minOccurs="0" name="TemperaturePolling" type="xs:boolean" />
          <xs:element minOccurs="0" name="TimeZoneCode" type="xs:int" />
          <xs:element minOccurs="0" name="TripOdometer" type="xs:float" />
          <xs:element minOccurs="0" name="VehicleID" type="xs:int" />
          <xs:element minOccurs="0" name="VehicleName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="VehicleType" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Zip" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="notes" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="vin" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="DCVehicle" nillable="true" type="tns:DCVehicle" />
</xs:schema>

Additional response Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/VTS.API" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/VTS.API" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="DataContractBase">
    <xs:sequence />
  </xs:complexType>
  <xs:element name="DataContractBase" nillable="true" type="tns:DataContractBase" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>