1

get bounded driver from notifications

Тема: get bounded driver from notifications

hi
how can i get information about bounded driver from notification?

2

get bounded driver from notifications

Re: get bounded driver from notifications

Hello!

while creating a notification you have to choose between different triggers and actions.

Actually speaking about triggers we have both conditions: bind or unbind; in what concerns actions we have driver unbindings feature only

Business Development Manager
Gurtam
3

get bounded driver from notifications

Re: get bounded driver from notifications

I am developing application in wialon pro and i use this url
<host>?svc=core/search_items&params={%22spec%22:{%22itemsType%22:%22avl_resource%22,%22propName%22:%22sys_name%22,%22propValueMask%22:%22*%22,%22sortType%22:%22sys_name%22,%22propType%22:%22propitemname%22},%22force%22:1,%22flags%22:0x00001000,%22from%22:0,%22to%22:9999999}&ssid=ssid

4

get bounded driver from notifications

Re: get bounded driver from notifications

vasifabdul
with that request and "flags" parameter set to 0x1000 you get properties of notifications contained in available resources.
Do you want to get driver's name from the triggered notification?

Developer
Gurtam
5

get bounded driver from notifications

Re: get bounded driver from notifications

i am testing bound and unbound driver to car using ibutton
and i want to get driver who bounded or unbounder from notification

6

get bounded driver from notifications

Re: get bounded driver from notifications

You can get this online from notification in monitoring site. Wialon Pro's Remote API does not provide request similar to avl_evts (available in Hosting/Local). In order to get driver codes you can set notification of Driver control type to notify by e-mail and then parse that message on your side. Another way is to retrieve unit's messages through API and search for ID="code" or ID="" parameters in them.

Developer
Gurtam
7

get bounded driver from notifications

Re: get bounded driver from notifications

HI
Thanks for your reply.
Could you send me an example? pls

8

get bounded driver from notifications

Re: get bounded driver from notifications

Particular code examples will be different depending on what programming language is used. SDK documentation provides you with the description of available HTTP requests, while implementation of these requests + any custom logic is done on application/script side.

How to:
create notifications
http://sdk.wialon.com/wiki/en/pro/remot … tification
get messages
http://sdk.wialon.com/wiki/en/pro/remot … s/messages

Developer
Gurtam