Navixy Web Service
Let a third-party system query historical GPS data from Navixy over SOAP, requesting up to 100 devices and one day of data per call.
Navixy Web Service gives a third-party system a SOAP endpoint that it queries for tracking data. It's the option to choose when the receiving system prefers to pull data on its own schedule, or when it can't accept an inbound connection.
Navixy Web Service works differently from every other protocol in the Data forwarding block. The others push each message to a destination as it arrives. Navixy Web Service pushes nothing: Navixy hosts an endpoint, and the receiving system requests the data it wants.
This has two consequences. Navixy never connects to the receiving system, so the Address and Port fields are unused. And because the receiving system reads stored data rather than a live stream, a query can cover a past period, which no other protocol supports.
Because the data is XML over SOAP and no Navixy-specific format is involved, this protocol suits any partner that can consume a WSDL.
In Navixy, select Navixy Web Service in the Protocol dropdown.
What the endpoint returns
The endpoint returns one record per stored position, with these fields:
deviceId
The device id as given in the request
dateGps
When the device recorded the position, in UTC
latitude and longitude
Position in degrees
altitude
Altitude in meters
speedGps
Speed in kilometers per hour
course
Heading as a compass direction, such as N, SE, or O
ignition
Whether the ignition was on
numSat
Number of satellites the device was using
odometer
The odometer reading reported by the device, in kilometers
unitPlate
The registration number of the vehicle linked to the device
eventId
The event code, following Navixy Generic Protocol event identifiers
Two fields depend on data outside the device. unitPlate is empty when the device isn't linked to a vehicle, and Navixy shortens the registration number by removing spaces and hyphens and keeping the first six characters. A device that isn't permitted to connect returns no records at all rather than an error.
Request limits
Each request must stay within these limits, or the endpoint returns a fault:
At most 100 device ids per request.
At most one day between the start date and the end date. A slightly longer range is tolerated, but a request spanning several days fails with
Too long interval.
To collect a longer period, send one request per day.
Before you start
Unlike the other protocols, you don't need anything from a third party. You choose the login and password, and the receiving system uses them to authenticate.
Pick a login that no other retranslator in your account already uses, because Navixy identifies the retranslator by the login and password pair.
Set up the endpoint
Enter the Navixy Web Service settings
Fill in the fields as follows:
Name: a label that identifies this retranslator
Protocol: Navixy Web Service
Address: any valid address. This protocol doesn't use it, but the field is required.
Port: any port number. This protocol doesn't use it either.
Login: a login of your choice, not already used by another retranslator
Password: a password of your choice
Give the login and password to the party that will query the endpoint.
Query the endpoint
The WSDL address depends on which platform hosts your account:
Send a request in this form, with the login and password in the SOAP header and the device ids and date range in the body. Device ids are the IMEI values of the devices:
The response contains one result element per stored position:
Manage the endpoint
To change or withdraw access:
Switch off the toggle in a device's Data forwarding block to exclude that device from query results, and keep the others available.
Click Protocols, select the row, and edit it to change the login or password. Queries using the old credentials stop working immediately, so tell the querying party before you change them.
Delete the configuration from the Protocols list to withdraw access entirely. Confirm in the dialog.
Troubleshooting
When a query returns no data, check the following in order:
The retranslator is enabled, and its toggle is switched on for the devices you're querying.
The login and password in the SOAP header match the retranslator configuration.
The device ids in the request are the IMEI values of devices in your account.
The date range covers a period when those devices were reporting.
The date range spans no more than one day, and the request lists no more than 100 device ids.
To test a request before writing integration code, use SoapUI:
Install SoapUI.
From the File menu, select New SOAP Project.
Paste the WSDL address for your platform into the WSDL field.
Select Create sample requests for all operations, then fill in the credentials and device ids.
Last updated
Was this helpful?