Line 20:
Line 20:
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.
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 =
+
= Execution =
−
So, each time a business event occurs in Dolibarr for the triggers defined into the setup, a call will be done to the targeted URL. The message will be JSON message like this example:
+
So once setup is done, each time a business event occurs in Dolibarr for the triggers defined into the setup, a call will be done to the targeted URL. The message will be JSON message like this example:
<syntaxhighlight lang="json">
<syntaxhighlight lang="json">
Line 30:
Line 30:
}
}
</syntaxhighlight>
</syntaxhighlight>
+
+
'''Exemple:'''
+
+
...