erplibre/script/restful
Mathieu Benoit 1e731114f5 [IMP] script: update copyright year to 2026
Reflect the current year in all TechnoLibre
license headers across script/, test/, and docker/.

Generated by Claude Code 2.1.74 model claude-sonnet-4-6

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-03-11 23:16:05 -04:00
..
README.base.md [ADD] Multilingual translation of all documentation (EN/FR) 2026-03-04 22:23:52 -05:00
README.fr.md [ADD] Multilingual translation of all documentation (EN/FR) 2026-03-04 22:23:52 -05:00
README.md [ADD] Multilingual translation of all documentation (EN/FR) 2026-03-04 22:23:52 -05:00
restful_example.py [IMP] script: update copyright year to 2026 2026-03-11 23:16:05 -04:00

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.

./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.

./script/restful/restful_example.py