BPAPI Methods

BPAPI method Notify

Notify

Sends notification

Authorization required: Yes

HTTP methods allowed: GET, POST

Syntax: Notify/{text}/  Details   Details 

Syntax: Notify/{text}/{time_filter}/  Details   Details 

Sends notification
Sends notification with text {text} to all notification recipients registered with methods like
Notification/AddEMail,
Notification/AddCellular,
Notification/AddApp and
Notification/AddPowel (for testing against Powel, use a valid DeviceProperty like 'temperature_notification_triggered' or with the text '_not' inserted like 'temperature_notification_not_triggered' as {text}

If a notification with identical text has been sent after the point in time indicated by {time_filter} then the notification will be discarded. {time_filter} is optional, with default value of "10min".


Tip: Add / to the end of your query string if the last parameter contains a full stop . or dash - and you want to use HTTP method GET.


Unit-tests: 4 test(s)

Popularity: 1901 (number of times method has been accessed)

Documentation and tests automatically generated from source-code 2020-07-08 11:31