getMileage
Get distance.
Get the distance in kilometers grouped by geographical states. For example: 30km - California(CA), 10km - Arizona(AZ).
getMileageRequest
Request to get travel distance in kilometers for mobile devices with GPS.
Object Fields
NameTypeRequiredDescription
wsAdminTdxAdminYesAdmin Credentials
ptnstringYesPhone number
startlongYesFrom Time (milliseconds from UTC 1970/01/01)
endlongYesTo Time (milliseconds from UTC 1970/01/01)


XML Example:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <ns1:getMileage soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:tns">
   <wsAdmin href="#id0"/>
   <ptn xsi:type="xsd:string">1251423240503</ptn>
   <start href="#id1"/>
   <end href="#id2"/>
  </ns1:getMileage>
  <multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:long" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">1251423240737</multiRef>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:TdxAdmin" xmlns:ns2="http://www.telenavtrack.net/schema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <email xsi:type="xsd:string">1251423239804@telenav.com</email>
   <password xsi:type="xsd:string">password</password>
  </multiRef>
  <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:long" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">1251336840737</multiRef>
 </soapenv:Body>
</soapenv:Envelope>
				



getMileageResponse
Distance traveled by mobile devices with GPS in kilometers.
Object Fields
NameTypeRequiredDescription
getMileageReturnTdxMileageArrayYesDistances for every State in kilometers.


XML Example:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <ns1:getMileageResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:tns">
   <getMileageReturn soapenc:arrayType="ns2:TdxMileage[1]" xsi:type="soapenc:Array" xmlns:ns2="http://www.telenavtrack.net/schema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <getMileageReturn xsi:type="ns2:TdxMileage">
     <ptn xsi:type="xsd:string">5553679508</ptn>
     <mileage xsi:type="xsd:double">28.97</mileage>
     <state xsi:type="xsd:string">CA</state>
     <timestamp xsi:type="xsd:long">1256148381000</timestamp>
    </getMileageReturn>
   </getMileageReturn>
  </ns1:getMileageResponse>
 </soapenv:Body>
</soapenv:Envelope>