manual:api:reference:trigger:object

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:api:reference:trigger:object [2019/08/14 11:32]
Andrejs.Griscenko [ZBXNEXT-4942] removed the list of supported macros in opdata
manual:api:reference:trigger:object [2021/05/17 16:13] (current)
vmurzins [ZBXNEXT-6411] added 'uuid' paramter
Line 7: Line 7:
 The trigger object has the following properties. The trigger object has the following properties.
  
-^  Property ​ ^  Type  ^  Description ​ ^+^  Property ​ ^  ​[[:​manual/​api/​reference_commentary#​data_types|Type]]  ​^ ​ Description ​ ^
 | triggerid ​ | string ​ | //​(readonly)//​ ID of the trigger. ​ | | triggerid ​ | string ​ | //​(readonly)//​ ID of the trigger. ​ |
 | **description** \\ (required) | string | Name of the trigger. | | **description** \\ (required) | string | Name of the trigger. |
 | **expression** \\ (required) | string | Reduced trigger expression. | | **expression** \\ (required) | string | Reduced trigger expression. |
 +| event_name | string | Event name generated by the trigger. |
 | opdata ​  | string | Operational data. | | opdata ​  | string | Operational data. |
 | comments | string | Additional description of the trigger. | | comments | string | Additional description of the trigger. |
Line 28: Line 29:
 | correlation_tag | string | Tag for matching. | | correlation_tag | string | Tag for matching. |
 | manual_close | integer | Allow manual close. \\ \\ Possible values are: \\ 0 - //​(default)//​ No; \\ 1 - Yes.| | manual_close | integer | Allow manual close. \\ \\ Possible values are: \\ 0 - //​(default)//​ No; \\ 1 - Yes.|
 +| uuid | string | Universal unique identifier, used for linking imported triggers to already existing ones. Used only for triggers on templates. Auto-generated,​ if not given. \\ \\ For update operations this field is //​readonly//​. |
  
 ==== Trigger tag ==== ==== Trigger tag ====
Line 33: Line 35:
 The trigger tag object has the following properties. The trigger tag object has the following properties.
  
-^  Property ​            ^ Type    ^ Description ​       ^+^  Property ​            ​^ ​[[:​manual/​api/​reference_commentary#​data_types|Type]]    ^ Description ​       ^
 | **tag** \\ (required) | string ​ | Trigger tag name.  | | **tag** \\ (required) | string ​ | Trigger tag name.  |
 | value                 | string ​ | Trigger tag value. | | value                 | string ​ | Trigger tag value. |