Differences
This shows you the differences between two versions of the page.
en:d-sdk:9_notifications:2_create_notification [2018/04/26 21:58] support@geliossoft.ru created |
en:d-sdk:9_notifications:2_create_notification [2021/07/07 13:28] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Create Notification ====== | ||
- | The request is intended to create a notification. | ||
- | === Request Example === | ||
- | <code php>&svc=create_notification¶ms={ | ||
- | "type":integer, | ||
- | "id_units":[integer,integer,...], | ||
- | "id_geozone":inetegr, | ||
- | "type_notification":ushort, | ||
- | "text_notification":string | ||
- | }</code> | ||
- | |||
- | === Parameters === | ||
- | ^ Parameter ^ Description ^ | ||
- | | type | Notification Type | | ||
- | | id_units | Array of Unique Unit IDs | | ||
- | | id_geozone | Unique Notification ID | | ||
- | | type_notification | NOtification Type:\\ <code php>e-mail message: 1 | ||
- | SMS message: 2 | ||
- | online message: 3</code> | | ||
- | | text_notification | Notification Text | | ||
- | |||
- | === Additional Information === | ||
- | **IMPORTANT!** Only the creation of notifications on the exit from the geozone is available now. | ||
- | |||
- | === Server Response === | ||
- | <code php>{ | ||
- | "result":"6009" | ||
- | }</code> |