Integration with another API for Mileage Information

Topic: Integration with another API for Mileage Information

Hello all,
     I have a customer that utilizes the Wialon platform for managing their fleet. They wish to have mileage information collected by Wialon to be sent to another platform, Fleetio, that they use for maintenance needs. I was wondering if it is possible to add this functionality to our Wialon platform so automatic updates can be transferred. For example, can my company have the ability to add this customer to a special template that is custom built to port mileage information over?

The new functionality would only need to collect mileage information. As an idea, I am aiming to have the mileage information from Wialon sent to Fleetio at the end of every day through a http command. (using the Fleetio API)

It is my best assumption that this functionality can be added by writing commands that communicate from Wialon to Fleetio, which would need to be achieved on the Wialon server.

Here is the Fleetio API: https://developer.fleetio.com/docs/gps- … tion-guide (refer to odometer updates)

Thank you for time and assistance!


Integration with another API for Mileage Information

Re: Integration with another API for Mileage Information

Good afternoon!

It's possible to make through Wialon API. You can make it in next steps:
1) Create token with necessary access rules: https://sdk.wialon.com/wiki/en/sidebar/ … ken/update
2) Receive session id in the field "eid" in login request response: https://sdk.wialon.com/wiki/en/sidebar/ … ogin/login
3) With the received sid make request to find itemId and sensorId: https://sdk.wialon.com/wiki/en/sidebar/ … arch_items
4) With the received IDs make request for last calculated sensor's values: https://sdk.wialon.com/wiki/en/kit/remo … st_message

And send this value to Fleetio by their API.