You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2021-10-28 00:46:33

aziz
Member
Registered: 2021-03-30
Posts: 109

software downloads

Hello everyone,
Guys, how can I get in which computers a specific(id) software is downloaded, using api request.
Appreciate any help.

Offline

#2 2021-10-28 09:22:30

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,175

Re: software downloads

first, you should get softwareversion_id then

.../glpi/apirest.php/Softwareversion/[ softwareversion_id]/Computer_softwareversion


Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6

Offline

#3 2021-10-28 16:40:21

aziz
Member
Registered: 2021-03-30
Posts: 109

Re: software downloads

Ty for this it works but is there a way to do it with the software_id instead of software_version_id ?

Last edited by aziz (2021-10-28 16:48:46)

Offline

#4 2021-10-28 17:02:12

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,175

Re: software downloads

the only way I see is

get software versions :

.../glpi/apirest.php/Software/[software_id]/Softwareversion/

then for each softwareversion_id 

.../glpi/apirest.php/Softwareversion/[ softwareversion_id]/Computer_softwareversion/


Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6

Offline

Board footer

Powered by FluxBB