1

Setting Notification on creating unit or user

(02/06/2016 07:10:31 отредактировано kaippally)

Тема: Setting Notification on creating unit or user

I am told the currently there is no method on Wialon to create  a notification when unit or user is created. However the SDK does seem to allow this.
I would like to see an example  query  string to do this.

Nishad Hussain Kaippally
Implementation Specialist, Middle East, Gurtam

"Computer science is no more about computers than astronomy is about telescopes."
2

Setting Notification on creating unit or user

(06/06/2016 04:11:26 отредактировано zaid)

Re: Setting Notification on creating unit or user

While creating Notification via SDK you need to use "itemId" - that's resource ID, "id":<long>, - /* notification ID */, "un":<long> - /* array units/unit groups ID's, ect. Full list of parameters you can find here: http://sdk.wialon.com/wiki/en/sidebar/r … ification.. Also keep in mind, that in the end of API request you need to use "eid":<text>, /* session ID */ - that parameter determines the user you act from and allows the system to check the set of rights of the user to create items (Notification in that case). How to get the session ID is described here: http://sdk.wialon.com/wiki/en/sidebar/r … ore/login.

Also at the following page you can look at the example you've requested: http://sdk.wialon.com/playground/demo/get_notification

Technical Support Department