1

How to post unit GPS events

Тема: How to post unit GPS events

I am working on integration from another system with Wialon Hosting. I am using Wialon Remote API. I need to pull the GPS events (location changes) from another system and post to Wialon. Which Wialon API should I use?

2

How to post unit GPS events

Re: How to post unit GPS events

jefflinhq пишет:

I am working on integration from another system with Wialon Hosting. I am using Wialon Remote API. I need to pull the GPS events (location changes) from another system and post to Wialon. Which Wialon API should I use?

Hello, based on your description, presumably, you can try to retranslate data from your server to Wialon.
The data should be sent according to the one of the integrated protocol. Here you can find the list of the protocols -- https://gurtam.com/en/gps-hardware/soft
Detailed description for some protocols available in the description of the type, for example Wialon Retranslator or Wialon IPS

To receive the data in Wialon you need to create a unit with the required unique ID and device type according to the selected protocol.

If you want to use Remote API specifically, you can try to create .wln type file and import it in the corresponding unit.
Following you can find several topics with similar cases:
https://forum.wialon.com/viewtopic.php?pid=155892
https://forum.wialon.com/viewtopic.php?pid=171398

The sample of the file you can check if you export messages from one of your unit in Wialon.

Anton Zinovyev
Technical Care Engineer (L2)
Wialon
3

How to post unit GPS events

Re: How to post unit GPS events

Thanks Zant!

I tried to create a unit before importing the wln file. I used the following

https://hst-api.wialon.com/wialon/ajax.html?svc=core/create_unit&params={"creatorId":13666596,"name":"testUnit1979","hwTypeId":96266,"dataFlags":1}&sid={{SID}}

I got an error 6, which is unknow error. Do you know what caused it?

4

How to post unit GPS events

Re: How to post unit GPS events

jefflinhq пишет:

Thanks Zant!

I tried to create a unit before importing the wln file. I used the following

https://hst-api.wialon.com/wialon/ajax.html?svc=core/create_unit&params={"creatorId":13666596,"name":"testUnit1979","hwTypeId":96266,"dataFlags":1}&sid={{SID}}

I got an error 6, which is unknow error. Do you know what caused it?

Hello, in general such error might indicate some restrictions in the Services for the account.
However, for further investigation, please, send the inquiry to support@gurtam.com with the request text and token that was used.
Thank you!

Anton Zinovyev
Technical Care Engineer (L2)
Wialon