You are not logged in.
Pages: 1
I have bein trying to add a component to an existing Computer via cURL, I was wondering if this is viable and how could thisbe done?
Offline
Use glpi api.
Toi scan add items to computer.
Check forun api section.
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
Im currently using the restFull api in a server, I am creating the computer using cURL and works fine, but I need to be able to add or link the components to this existing computer using cURL call. Is this possible to do it without the use of a plugin?
PD: Checked the API forum and theres nothing i could relate to this issue.
Offline
try this url :
$url=$api_url . "/Computer/" . $computer_id . "/Computer_Item";
post the array :
[items_id] => $item_id
[computers_id] => $computer_id
[itemtype] => Printer
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
Pages: 1