ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

SystemLink Forum

cancel
Showing results for 
Search instead for 
Did you mean: 

Notification Strategy IDs

Solved!
Go to solution

Currently trying to trigger alarms using the Alarm HTTP API when someone reports a fault on a particular asset. Is there an easy way to query for Notification Strategy IDs? So far have managed to retrieve them from the alarms api by manually searching but if I was to create a new strategy is there a way to view/access the ID? Couldn't find a way to query notification strategies but might have missed it. 

0 Kudos
Message 1 of 3
(2,877 Views)
Solution
Accepted by topic author AldoAbdn

You can do a GET to /ninotification/v1/notification-strategies to list all strategies. I attached our documentation for the HTTP API of the Notification service. A Swagger doc for that service might be coming later this year. There's also a "Get Notification Strategies" VI on the Alarms palette.

pvallone_0-1580922556178.png

Message 2 of 3
(2,614 Views)

Thanks, this is what we were looking for.

0 Kudos
Message 3 of 3
(2,593 Views)