Control Notification via URL

Col8

Getting the hang of it
Joined
Jul 31, 2017
Messages
79
Reaction score
29
Is it possible to switch on and off email notifications via a post URL. If so could someone share the URL string syntax.

Thank you kindly
 

Col8

Getting the hang of it
Joined
Jul 31, 2017
Messages
79
Reaction score
29
I figured it out. Just in case anyone else is interested:

IP of BI:81/admin?camera=x&alerts=y.

where X = camera name.
and y = alert status required. Set y to one of the following values:
-1 = never
0 = when this camera is triggered
1 = any camera in group is triggered
2 = when any camera is triggered
 

TonyR

IPCT Contributor
Joined
Jul 15, 2014
Messages
16,855
Reaction score
39,216
Location
Alabama
I figured it out. Just in case anyone else is interested:
Thanks for sharing.

FWIW, no authentication in the URL is required if BI user “anonymous” is enabled. But If user “anonymous” is NOT enabled and you have created a user and password in BI to be used when issuing the above HTTP command, then you must also place that user/password at the end of the URL that is sent to BI.
That would add “?user=username&pw=password” to the end, so the example URL now would be
Code:
http://BI-server-IP:81/admin?camera=x&alerts=y?user=username&pw=password
.
Additionally, you must also go to “Web server” => “Advanced’ and UNcheck “use secure session keys and login page”.
 

Col8

Getting the hang of it
Joined
Jul 31, 2017
Messages
79
Reaction score
29
Thanks Tony.

I ended up adding an IP exception from the device on my LAN sending the commands via the BI webserver tab.
 
Top