This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:sidebar:remoteapi:apiref:unit:registry_custom_event [29/11/2013 13:31] 127.0.0.1 external edit |
en:sidebar:remoteapi:apiref:unit:registry_custom_event [01/03/2019 11:39] sden [Parameters] |
||
---|---|---|---|
Line 9: | Line 9: | ||
"description":<text>, | "description":<text>, | ||
"violation":<uint>, | "violation":<uint>, | ||
- | "itemId":<long>} | + | "itemId":<long>, |
+ | "nt":<text>} | ||
</code> | </code> | ||
Line 20: | Line 21: | ||
| violation | violation: 0 - common event, 1 - violation | | | violation | violation: 0 - common event, 1 - violation | | ||
| itemId | unit ID | | | itemId | unit ID | | ||
+ | | nt | notification text | | ||
+ | <note>The nt parameter is passed when registering an event for online notification. The text of the triggered notification is transferred to it.</note> | ||
===== Response ===== | ===== Response ===== | ||
<code=javascript> | <code=javascript> | ||
{} /* empty object if execution successful, if not - error code */ | {} /* empty object if execution successful, if not - error code */ | ||
</code> | </code> |
|