1

Unit get trip Error

Topic: Unit get trip Error

Hi, I am getting an error when trying to get unit trips for certain period, the url I am using for this porpuse is this

svc=unit/get_trips&params={"itemId":1093167,"timeFrom":1375318861,"timeTo":1376096461,"msgsSource":1}&sid=9c22bc2d4415289f66aba4487b604609

And I am getting error: 4 .

It is a very simple url, but I cant find my fault.

Thanks!

2

Unit get trip Error

Re: Unit get trip Error

If you use parameter "msgsSource":1 it means to use message loader
So  first, you load messages into the message loader using either of two commands – messages/load_last or messages/load_interval. Then you can work with them.
Please try to request these steps.

Diana Cheley
Wialon Hosting Expert
Gurtam
3

Unit get trip Error

Re: Unit get trip Error

chdi wrote:

If you use parameter "msgsSource":1 it means to use message loader
So  first, you load messages into the message loader using either of two commands – messages/load_last or messages/load_interval. Then you can work with them.
Please try to request these steps.

Oh, Thanks!, is there a way to not use msgloader?

4

Unit get trip Error

Re: Unit get trip Error

You can set parameter ""msgsSource" as name of message layer
Here you can find request to work with it
http://sdk.wialon.com/wiki/en/kit/remot … ages_layer
http://sdk.wialon.com/wiki/en/kit/remot … avl_render

Diana Cheley
Wialon Hosting Expert
Gurtam