Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Web API Reference

ElementTemplate CreateNotificationRuleTemplate

ElementTemplate CreateNotificationRuleTemplate

Create a notification rule template.

Request

POST elementtemplates/{webId}/notificationruletemplates

URL Parameters

  • webId

    The ID of the element on which to create the notification rule 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 rule template.

Status Codes

201: The notification rule template was created. The response's Location header is a link to the notification rule template.

Sample Request Body

{
  "Name": "MachineName",
  "Description": "Description entered by the user",
  "CategoryNames": [
    "MachineNameAlerts"
  ],
  "Criteria": "Name: EventFrameCriteriaName",
  "MultiTriggerEventOption": "HighestSeverity",
  "NonrepetitionInterval": "PT3S",
  "ResendInterval": "PT5S"
}
In This Topic
TitleResults for “How to create a CRG?”Also Available in