Module Web Services API REST (developer)
Web services | |
---|---|
Numero/ID of module | 2610 |
User doc. of module | Not applicable |
Developer doc. of module | This page |
Function
When enabling this module, you enable usage of web services provided by Dolibarr server. You can then make REST call of different web services provided by Dolibarr.
Dolibarr REST web services server
Once module webservices REST is activated, Dolibarr become also a server of REST web services. So you can send your own REST request to relative URL /api/index.php
- "actioncomm"
- "category"
- "contact"
- "invoice"
- "order"
- "other"
- "productorservice"
- "supplier_invoice"
- "thirdparty"
- "user"
List of provided services
Only few services are available. You can see full list of Dolibarr Webservices provided, by calling the explorer here at address:
http://yourdolibarrurl/api/index.php/explorer.
You must first make the first call to the login api to get the api key. Then enter api key to get list of all other available services.
For example, you can try the explorer on the demo instance at:
https://demo.dolibarr.org/api/index.php/explorer
You must first make the first call to the login api to get the api key. Then enter api key to get list of all other available services.