Create a Webhook
Before you start, ensure you have the following information:
-
The Form you are basing the webhook on (Absence When an employee or worker is absent from work. This can be for a variety of reasons., Personal or Contract).
-
The Event Type for your webhook.
-
The HTTP Method you want to use.
-
Your Payload Type.
-
Your Target URL.
-
Your Authentication Type.
-
Go to System Tools > Utilities > Tools > Webhooks.
-
Select Create New to open blank webhook creation form.
-
Select the Form dropdown arrow to select your tab. You can create webhooks from the Absence, Contract and Personal tabs.
-
Choose the required Event Type from the list. Available Event Types differ according to the Form selected.
-
For your HTTP Method, select DELETE, PATCH, POST or PUT.
-
DELETE - Deletes the resource at your specified URL.
-
PATCH - Allows partial updates to a resource at your specified URL.
-
POST - Makes a POST request to a URL to create a resource at your specified URL.
-
PUT - Makes a PUT request to a URL to update a resource at your specified URL.
-
-
Choose the Payload Type, either JSON or XML. This is the format of the data you are sending.
-
Enter the Target URL (the URL address of the resource you wish to create the webhook for).
-
Choose an Authentication Type from the list.
-
Select Active to activate the webhook. (You can edit this later if you wish to pause it for a while.)