Module Webhook
Introduction
The module WebHook add the possibility to send a JSON message to an URL after the trigger of a Dolibarr event.
Installation
This module is included with the Dolibarr distribution, so there is no need to install it.
Configuration
To use this module, you must first enable it using an administrator account, via the menu option "Home - Setup - Modules".
Choose the tab where the module is listed. Then click on "Activate".
The module is now activated.
If a cog icon appears on module thumb or at end of the line of the module, click on it to access the setup page specific to the module.
Add a target
The only configuration needed for this module is adding a target. This is done by going into the module configuration, then click on the menu target. Then just click on the plus sign on the top right of the page, fill one or multiple trigger event and to add an URL to the site we want to post the JSON.
JSON format
{
"triggercode" : "TRIGGER_CODE",
"object" : "Dolibarr object"
}