AssetServer CreateNotificationContactTemplate
- Last UpdatedJun 15, 2023
- 1 minute read
- PI System
- PI Web API Reference
- Developer
AssetServer CreateNotificationContactTemplate
Create a notification contact template.
Request
POST assetservers/{webId}/notificationcontacttemplates
URL Parameters
-
webId The ID of the asset server on which to create the notification contact template. See WebID for more information.
-
webIdType Optional parameter. Used to specify the type of WebID. Useful for URL brevity and other special cases. Default is the value of the configuration item "WebIDType". See WebID Type for more information.
Body Parameter
The new notification contact template definition.
Status Codes
201: The notification contact template was created. The response's Location header is a link to the notification contact template.
Sample Request Body
{
"Name": "Plant Manager",
"Description": "",
"Available": true,
"ConfigString": "",
"ContactType": "Individual",
"PlugInName": "",
"MaximumRetries": 5,
"MinimumAcknowledgements": 2,
"NotifyWhenInstanceEnded": true,
"EscalationTimeout": "PT3S",
"RetryInterval": "PT5S"
}