Тема: get bounded driver from notifications
hi
how can i get information about bounded driver from notification?
Вы не вошли. Пожалуйста, войдите или зарегистрируйтесь.
hi
how can i get information about bounded driver from notification?
I am developing application in wialon pro and i use this url
<host>?svc=core/search_items¶ms={%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
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?
i am testing bound and unbound driver to car using ibutton
and i want to get driver who bounded or unbounder from notification
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.
HI
Thanks for your reply.
Could you send me an example? pls
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