Reference for http://publictransportation.tsomobile.com/rest/Drivers/GetDriverLogPosition?tkn={TKN}&unitID={UNITID}&date={DATE}&durationSecs={DURATIONSECS}&driverID={DRIVERID}&ID={ID}&lan={LAN}

Url: http://publictransportation.tsomobile.com/rest/Drivers/GetDriverLogPosition?tkn={TKN}&unitID={UNITID}&date={DATE}&durationSecs={DURATIONSECS}&driverID={DRIVERID}&ID={ID}&lan={LAN}

HTTP Method: GET

This operation supports JSONP responses. The callback function can be specified using the "callback" Url query parameter.

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:

<DOTHOS xmlns="http://schemas.datacontract.org/2004/07/TSOWCF.Drivers">
  <Code>2147483647</Code>
  <Message>String content</Message>
  <Records>
    <DOTHOSItems>
      <Address>String content</Address>
      <Carrier>String content</Carrier>
      <CompanyAddress>String content</CompanyAddress>
      <DateEnd>1999-05-31T11:20:00</DateEnd>
      <DateIni>1999-05-31T11:20:00</DateIni>
      <DateRange>String content</DateRange>
      <DateReport>1999-05-31T11:20:00</DateReport>
      <DriverID>2147483647</DriverID>
      <DriverName>String content</DriverName>
      <Driving>String content</Driving>
      <Duration>String content</Duration>
      <DurationSecs>2147483647</DurationSecs>
      <ID>2147483647</ID>
      <Latitude>12678967.543233</Latitude>
      <Longitude>12678967.543233</Longitude>
      <Miles>12678967.543233</Miles>
      <OffDutty>String content</OffDutty>
      <OnDutty>String content</OnDutty>
      <Sleeper>String content</Sleeper>
      <StatusID>2147483647</StatusID>
      <StatusName>String content</StatusName>
      <UnitHistory>2147483647</UnitHistory>
      <UnitID>2147483647</UnitID>
      <UnitName>String content</UnitName>
    </DOTHOSItems>
    <DOTHOSItems>
      <Address>String content</Address>
      <Carrier>String content</Carrier>
      <CompanyAddress>String content</CompanyAddress>
      <DateEnd>1999-05-31T11:20:00</DateEnd>
      <DateIni>1999-05-31T11:20:00</DateIni>
      <DateRange>String content</DateRange>
      <DateReport>1999-05-31T11:20:00</DateReport>
      <DriverID>2147483647</DriverID>
      <DriverName>String content</DriverName>
      <Driving>String content</Driving>
      <Duration>String content</Duration>
      <DurationSecs>2147483647</DurationSecs>
      <ID>2147483647</ID>
      <Latitude>12678967.543233</Latitude>
      <Longitude>12678967.543233</Longitude>
      <Miles>12678967.543233</Miles>
      <OffDutty>String content</OffDutty>
      <OnDutty>String content</OnDutty>
      <Sleeper>String content</Sleeper>
      <StatusID>2147483647</StatusID>
      <StatusName>String content</StatusName>
      <UnitHistory>2147483647</UnitHistory>
      <UnitID>2147483647</UnitID>
      <UnitName>String content</UnitName>
    </DOTHOSItems>
  </Records>
</DOTHOS>

The following is an example response Json body:

{
	"Code":2147483647,
	"Message":"String content",
	"Records":[{
		"Address":"String content",
		"Carrier":"String content",
		"CompanyAddress":"String content",
		"DateEnd":"\/Date(928149600000+0000)\/",
		"DateIni":"\/Date(928149600000+0000)\/",
		"DateRange":"String content",
		"DateReport":"\/Date(928149600000+0000)\/",
		"DriverID":2147483647,
		"DriverName":"String content",
		"Driving":"String content",
		"Duration":"String content",
		"DurationSecs":2147483647,
		"ID":2147483647,
		"Latitude":12678967.543233,
		"Longitude":12678967.543233,
		"Miles":12678967.543233,
		"OffDutty":"String content",
		"OnDutty":"String content",
		"Sleeper":"String content",
		"StatusID":2147483647,
		"StatusName":"String content",
		"UnitHistory":2147483647,
		"UnitID":2147483647,
		"UnitName":"String content"
	}]
}

The following is the response Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/TSOWCF.Drivers" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/TSOWCF.Drivers" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="DOTHOS">
    <xs:sequence>
      <xs:element minOccurs="0" name="Code" type="xs:int" />
      <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Records" nillable="true" type="tns:ArrayOfDOTHOSItems" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DOTHOS" nillable="true" type="tns:DOTHOS" />
  <xs:complexType name="ArrayOfDOTHOSItems">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="DOTHOSItems" nillable="true" type="tns:DOTHOSItems" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfDOTHOSItems" nillable="true" type="tns:ArrayOfDOTHOSItems" />
  <xs:complexType name="DOTHOSItems">
    <xs:sequence>
      <xs:element minOccurs="0" name="Address" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Carrier" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CompanyAddress" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DateEnd" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DateIni" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DateRange" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DateReport" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DriverID" type="xs:int" />
      <xs:element minOccurs="0" name="DriverName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Driving" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Duration" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DurationSecs" type="xs:int" />
      <xs:element minOccurs="0" name="ID" type="xs:int" />
      <xs:element minOccurs="0" name="Latitude" type="xs:decimal" />
      <xs:element minOccurs="0" name="Longitude" type="xs:decimal" />
      <xs:element minOccurs="0" name="Miles" type="xs:decimal" />
      <xs:element minOccurs="0" name="OffDutty" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OnDutty" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Sleeper" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="StatusID" type="xs:int" />
      <xs:element minOccurs="0" name="StatusName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UnitHistory" type="xs:int" />
      <xs:element minOccurs="0" name="UnitID" type="xs:int" />
      <xs:element minOccurs="0" name="UnitName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DOTHOSItems" nillable="true" type="tns:DOTHOSItems" />
</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>

<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>