manual:api:reference:triggerprototype:create

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:triggerprototype:create [2020/05/05 11:37]
martins-v frontends/php -> ui (ZBX-17667)
manual:api:reference:triggerprototype:create [2020/11/04 10:52]
Andrejs.Griscenko [ZBXNEXT-6148] added a note about who can call this method
Line 6: Line 6:
  
 This method allows to create new trigger prototypes. This method allows to create new trigger prototypes.
 +
 +<​note>​This method is only available to //Admin// and //Super admin// user types. Permissions to call the method can be revoked in user role settings. See [[:​manual/​web_interface/​frontend_sections/​administration/​user_roles|User roles]] for more information.</​note>​
  
 ==== Parameters ==== ==== Parameters ====
Line 13: Line 15:
 Additionally to the [[object#​trigger_prototype|standard trigger prototype properties]] the method accepts the following parameters. Additionally to the [[object#​trigger_prototype|standard trigger prototype properties]] the method accepts the following parameters.
  
-^ Parameter ^ Type ^ Description ^+^ Parameter ^ [[:​manual/​api/​reference_commentary#​data_types|Type]] ^ Description ^
 | dependencies | array | Triggers and trigger prototypes that the trigger prototype is dependent on. \\ \\ The triggers must have the ''​triggerid''​ property defined. | | dependencies | array | Triggers and trigger prototypes that the trigger prototype is dependent on. \\ \\ The triggers must have the ''​triggerid''​ property defined. |
 | tags         | array | Trigger prototype [[:​manual/​api/​reference/​triggerprototype/​object#​trigger_prototype_tag|tags]]. | | tags         | array | Trigger prototype [[:​manual/​api/​reference/​triggerprototype/​object#​trigger_prototype_tag|tags]]. |