Zabbix Documentation 4.0

3.04.05.0 (current)| In development:5.2 (devel)| Unsupported:1.82.02.22.43.23.44.24.4Guidelines

User Tools

Site Tools


manual:api:reference:user:object

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
manual:api:reference:user:object [2017/10/06 14:12]
127.0.0.1 external edit
manual:api:reference:user:object [2017/12/11 09:57] (current)
miks.kronkalns [Media]
Line 30: Line 30:
 ^  Property ​ ^  Type  ^  Description ​ ^ ^  Property ​ ^  Type  ^  Description ​ ^
 | **mediatypeid** \\ (required) | string | ID of the media type used by the media. | | **mediatypeid** \\ (required) | string | ID of the media type used by the media. |
-| **sendto** \\ (required) | string | Address, user name or other identifier of the recipient. |+| **sendto** \\ (required) | string/​array ​| Address, user name or other identifier of the recipient.\\ \\ If type of [[manual:​api:​reference:​mediatype:​object#​mediatype|Media type]] is e-mail, values are represented as array. For other types of [[manual:​api:​reference:​mediatype:​object#​mediatype|Media types]], value is represented as a string.|
 | **active** | integer | Whether the media is enabled. \\ \\ Possible values: \\ 0 - //​(default)//​ enabled; \\ 1 - disabled. | | **active** | integer | Whether the media is enabled. \\ \\ Possible values: \\ 0 - //​(default)//​ enabled; \\ 1 - disabled. |
 | **severity** | integer | Trigger severities to send notifications about. \\ \\ Severities are stored in binary form with each bit representing the corresponding severity. For example, 12 equals 1100 in binary and means, that notifications will be sent from triggers with severities warning and average. \\ \\ Refer to the [[manual:​api:​reference:​trigger:​object#​trigger|trigger object page]] for a list of supported trigger severities.\\ \\ Default: 63 | | **severity** | integer | Trigger severities to send notifications about. \\ \\ Severities are stored in binary form with each bit representing the corresponding severity. For example, 12 equals 1100 in binary and means, that notifications will be sent from triggers with severities warning and average. \\ \\ Refer to the [[manual:​api:​reference:​trigger:​object#​trigger|trigger object page]] for a list of supported trigger severities.\\ \\ Default: 63 |
 | **period** | string | Time when the notifications can be sent as a [[manual:​appendix:​time_period|time period]] or user macros separated by a semicolon.\\ \\ Default: 1-7,​00:​00-24:​00 | | **period** | string | Time when the notifications can be sent as a [[manual:​appendix:​time_period|time period]] or user macros separated by a semicolon.\\ \\ Default: 1-7,​00:​00-24:​00 |