Recipients: Difference between revisions

From Telcred documentation
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:


Recipients define who should receive notifications when certain things happen (defined using [[Triggers|triggers]]) as well as some rules about how often and when notifications should be sent.
The purpose of ''Notifications'' is to generate an email, an SMS, or an HTTP request ("webhook") when certain events occur (the events are defined using a [[Commands and triggers|trigger]]).


To create a new notification, select ''Notifications'' in the Monitoring section of the menu and click ''Add new''.
To create a new recipient, select ''Recipients'' in the Configuration section of the menu and click ''Add new''.




[[File:notifications.png|Create notification]]
[[File:create-recipient.png|border|Create recipient]]




Select one or more [[Triggers|triggers]] for which the recipient should receive notifications.
The ''Name'' field is is included in emails as part of the subject.


=== Delivery settings ===
The ''Description'' field is included in both emails and SMSs.

HTTP requests contain a full description of the event in the form of a JSON object. The full webhook specification can be found [https://v1telcredaccessmanagerwebhooks.docs.apiary.io/# here].

Multiple ''Event types'' can be included in a single notification. For example, you can create a notification called "Door alarm", and include the event types ''Door forced open'' and ''Door left open''.


It is possible to specify a ''Maximum rate'' for the number of notifications that will be generated during e.g. one hour or a day.
It is possible to specify a ''Maximum rate'' for the number of notifications that will be generated during e.g. one hour or a day.
Line 20: Line 16:
Multiple SMS recipients can be specified with comma (,) between each recipient, and the same is true for email recipients and HTTP recipients.
Multiple SMS recipients can be specified with comma (,) between each recipient, and the same is true for email recipients and HTTP recipients.


Finally, it is possible to limit the times during which notifications are sent by specifying a schedule for ''Only during'' and / or ''Unless during''. If no schedule is specified, the notification will always be sent when the corresponding trigger is activated.
Notifications can be filtered on a number of parameters, so that only events involving e.g. certain doors or certain users trigger a notification. The possible filter parameters are:

* Controllers
* Devices
* Doors
* Methods
* Users
Finally, it is possible to limit the times during which notifications are generated by specifying a schedule for ''Only during'' and / or ''Unless during''. If no schedule is specified, the notification is always active.

Latest revision as of 14:54, 28 September 2021

Recipients define who should receive notifications when certain things happen (defined using triggers) as well as some rules about how often and when notifications should be sent.

To create a new recipient, select Recipients in the Configuration section of the menu and click Add new.


Create recipient


Select one or more triggers for which the recipient should receive notifications.

Delivery settings

It is possible to specify a Maximum rate for the number of notifications that will be generated during e.g. one hour or a day.

Multiple SMS recipients can be specified with comma (,) between each recipient, and the same is true for email recipients and HTTP recipients.

Finally, it is possible to limit the times during which notifications are sent by specifying a schedule for Only during and / or Unless during. If no schedule is specified, the notification will always be sent when the corresponding trigger is activated.