Web Services
- Devices
- getDevices
- Timecard
- getTimecardReport
- Distance
- fetchMileage
- getMileage
- Geofence
- setupCircleFence
- updateCircleFence
- fetchCircleFence
- deleteGeofence
- GeoFence Rule
- setupGeofenceRule
- updateGeofenceRule
- cancelGeofenceRule
- ETA
- estimateTravelTime
- Message
- dispatchMsg
- Job
- getJobTemplates
- dispatchAdvanceJob
- fetchAdvanceJob
- cancelJob
- fetchJobStatus
- getJobEvents
- GPS
- getGpses
- queryLatestGpsMeasurement
- Stop
- getStopReport
- Address Book
- addContact
- fetchAddress
- getClosestContact
- getClosestLandmark
- Event
- getEventDef
- getEvents
- getEventList
- Form
- addWirelessForm
- updateWirelessForm
- deleteWirelessForm
- fetchWirelessForms
- fetchWirelessFormsData
- Searchable Field
- addSearchableItemList
- fetchSearchableItemList
- updateSearchableItemList
- deleteSearchableItemList
- Data Tracker
- createDataTracker
- getDataTracker
- updateDataTracker
- deleteDataTracker
- Geo Code
- geocodeAddress
- validateAddress
- Time
- getLocalTime
queryLatestGpsMeasurement
Get two latest GPS locations for one mobile device.
queryLatestGpsMeasurementRequest
Request to get two latest GPS locations for one mobile device.
Object Fields
| Name | Type | Required | Description |
| wsAdmin | TdxAdmin | Yes | Admin Credentials |
| ptn | string | Yes | Phone Number |
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:queryLatestGpsMeasurement soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:tns"> <wsAdmin href="#id0"/> <ptn xsi:type="xsd:string">1251426117769</ptn> </ns1:queryLatestGpsMeasurement> <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:TdxAdmin" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="http://www.telenavtrack.net/schema"> <email xsi:type="xsd:string">1251426117066@telenav.com</email> <password xsi:type="xsd:string">password</password> </multiRef> </soapenv:Body> </soapenv:Envelope>
queryLatestGpsMeasurementResponse
Latest GPS reading of mobile device.
Object Fields
| Name | Type | Required |
| queryLatestGpsMeasurementReturn | TdxGpsArray | Yes |
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:queryLatestGpsMeasurementResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:tns"> <queryLatestGpsMeasurementReturn soapenc:arrayType="ns2:TdxGps[2]" xsi:type="soapenc:Array" xmlns:ns2="http://www.telenavtrack.net/schema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <queryLatestGpsMeasurementReturn xsi:type="ns2:TdxGps"> <ptn xsi:type="xsd:string">1251426117769</ptn> <time xsi:type="xsd:long">1251425482216</time> <heading xsi:type="xsd:double">0.0</heading> <speed xsi:type="xsd:double">0.0</speed> <mileage xsi:type="xsd:double">0.0</mileage> <address xsi:type="ns2:TdxAddress"> <lat xsi:type="xsd:double">37.00004</lat> <lon xsi:type="xsd:double">-121.0</lon> <street xsi:type="xsd:string">Near 19541 Billy Wright Rd and Branch Rd</street> <city xsi:type="xsd:string">Los Banos</city> <state xsi:type="xsd:string">CA</state> <zipCode xsi:type="xsd:string">93635</zipCode> <country xsi:type="xsd:string">US</country> <layerId xsi:type="xsd:long" xsi:nil="true"/> </address> </queryLatestGpsMeasurementReturn> <queryLatestGpsMeasurementReturn xsi:type="ns2:TdxGps"> <ptn xsi:type="xsd:string">1251426117769</ptn> <time xsi:type="xsd:long">1251424893727</time> <heading xsi:type="xsd:double">0.0</heading> <speed xsi:type="xsd:double">0.0</speed> <mileage xsi:type="xsd:double">0.0</mileage> <address xsi:type="ns2:TdxAddress"> <lat xsi:type="xsd:double">37.0001</lat> <lon xsi:type="xsd:double">-121.0</lon> <street xsi:type="xsd:string">Near 19541 Billy Wright Rd and Branch Rd</street> <city xsi:type="xsd:string">Los Banos</city> <state xsi:type="xsd:string">CA</state> <zipCode xsi:type="xsd:string">93635</zipCode> <country xsi:type="xsd:string">US</country> <layerId xsi:type="xsd:long" xsi:nil="true"/> </address> </queryLatestGpsMeasurementReturn> </queryLatestGpsMeasurementReturn> </ns1:queryLatestGpsMeasurementResponse> </soapenv:Body> </soapenv:Envelope>