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.
A delivery endpoint is represented as an AFNotificationContactTemplate in the AF SDK. If you configure the endpoint in PI System Explorer and then reference when configuring a notification rule for an element, then you can export the element with all reference checked and see the property values for the AFNotificationContactTemplate. This will help you see what values should be set when using the AF SDK to create the AFNotificationContactTemplate in your own code.
A delivery endpoint is represented as an AFNotificationContactTemplate in the AF SDK. If you configure the endpoint in PI System Explorer and then reference when configuring a notification rule for an element, then you can export the element with all reference checked and see the property values for the AFNotificationContactTemplate. This will help you see what values should be set when using the AF SDK to create the AFNotificationContactTemplate in your own code.