Skip to content

HL API Integration #374

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

cconard96
Copy link
Contributor

Based on PR that drops old webservices integration.
This PR adds integration with the new HL API coming with GLPI 10.1.0.
Similar to the webservices integration, this PR adds endpoints to list valid itemtypes, list injection models, get injection model, and inject a CSV file for a specific model.

Requires the work being done in glpi-project/glpi#16254

@Mirkk
Copy link

Mirkk commented Feb 18, 2025

Hi, this would be great! I implemented a crontask that can run injection models, but that solution is not the best one. Having the possibility to call model injection in REST from a script would be a huge step to simplify data injection in GLPI! (PS: I know that it would be possible to use the classic REST API, but having a model in the GUI where you can select, change rows simplifies imports a lot. In the script there would be only the call with the file or filename. And everyone is able to test injection mappings by hand.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants