I've tried looking through various PI Square posts, and the AFSDK reference, but it seems to be a little more complicated to just add a new delivery endpoint. I'm assuming it's something simple, but can't see how i would do it.
I've tried looking through various PI Square posts, and the AFSDK reference, but it seems to be a little more complicated to just add a new delivery endpoint. I'm assuming it's something simple, but can't see how i would do it.
Just so i'm clear, i'm sorry i wasn't before, this is where i was looking to add endpoints:

This is what worked for me:
AFNotificationContactTemplate newEndpoint = new AFNotificationContactTemplate(myPISystem, stringName); newEndpoint.DeliveryChannelPlugIn = myPISystem.DeliveryChannelPlugIns["Email"]; newEndpoint.DeliveryChannel.ConfigString = "ToEmail=myEmailAddress@site.com"; newEndpoint.CheckIn();
Just so i'm clear, i'm sorry i wasn't before, this is where i was looking to add endpoints:

This is what worked for me:
AFNotificationContactTemplate newEndpoint = new AFNotificationContactTemplate(myPISystem, stringName); newEndpoint.DeliveryChannelPlugIn = myPISystem.DeliveryChannelPlugIns["Email"]; newEndpoint.DeliveryChannel.ConfigString = "ToEmail=myEmailAddress@site.com"; newEndpoint.CheckIn();