erplibre/script/restful/README.base.md
Mathieu Benoit a2d3aa2a78 [ADD] Multilingual translation of all documentation (EN/FR)
Added 30 .base.md files using the mmg (Multilingual Markdown Generator)
format to automatically generate English (.md) and French (.fr.md)
versions of all project documentation.
Updated conf/make.documentation.Makefile to process all .base.md files
via `make doc_markdown`.
2026-03-04 22:23:52 -05:00

1.3 KiB

Restful

REST (representational state transfer) service in ERPLibre, create a token and get data.

Installation

In your instance, install module restful.

Example

The example works with application Helpdesk, install module helpdesk_mgmt.

You need to run with specified database, and you can run the example script.

Restful

Service REST (representational state transfer) dans ERPLibre, créez un jeton et obtenez des données.

Installation

Dans votre instance, installez le module restful.

Exemple

L'exemple fonctionne avec l'application Helpdesk, installez le module helpdesk_mgmt.

Vous devez exécuter avec une base de données spécifiée, et vous pouvez lancer le script d'exemple.

./script/database/db_restore.py --database test
./script/addons/install_addons.sh test restful,helpdesk_mgmt
./run.sh -d test

Test with the example while the server is running. You can add data manually.

Testez avec l'exemple pendant que le serveur est en cours d'exécution. Vous pouvez ajouter des données manuellement.

./script/restful/restful_example.py