datainjection icon indicating copy to clipboard operation
datainjection copied to clipboard

HL API Integration

Open cconard96 opened this issue 2 years ago • 1 comments

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 https://github.com/glpi-project/glpi/pull/16254

cconard96 avatar Dec 28 '23 04:12 cconard96

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!

Mirkk avatar Feb 18 '25 14:02 Mirkk