To proceed, please navigate to “System” > “Notification Template” and select the CREATE NEW button to create a template for a WebHook alert.
For each notification template, you are required to provide a “Description,” a “Category,” and a “Language.” The “Description” is a free-text field used to identify the notification template. The “Category” must be selected from a predefined list of options within the PTV Axylog platform; each category corresponds to a specific object and defines the set of data that may be transmitted via the WebHook notification. The “Language” for notifications corresponds to the Context language; therefore, please ensure that the notification template is provided in the language configured for your Context.
Scroll to the WebHook section at the bottom of the page, where the following form fields must be completed for the WebHook API call:
- URL: This field contains a string that is appended to the URL specified in the Notification Workflow. It is typically used to include specific query string parameters. The syntax is ?parameter=value&key=val.
Note: Please note that the WebHook URL must be defined within the Notification Workflow configuration. This field is intended solely for appending additional text to the URL endpoint established in the Notification Workflow. - Additional headers: This field is designated for headers to be included in the WebHook API request. The syntax is headerKey^headerValue. Multiple headers should be separated by the pipe character (|).
Example: To set a header named head1 with the value abc and a header named head2 with the value defg, the syntax is: head1^abc|head2^defg. - Request body: This field specifies the body of the API request. The body may include fields available for the designated WebHook Category, which are displayed in the “Variables” section located on the right side of the “Email body” page tab.
Comments
0 comments
Please sign in to leave a comment.