You are not logged in.
Pages: 1
Hello
using Api REST, How can I get all tickets asigned to me?
(having user_token and session_token)
I can obtain the detail of a ticket /apirest.php/Ticket/xxx/?session_token=xxxxxx&app_token=yyyyyyyy
But I can not found the object wich list the tickets
Thcnk you
GLPI 9.5.2;; FusionInventory: 9.2+1.0;; GLPI Modifications 1.1.4;; Notifications 1.1.9;; Dashboard 0.8.8;; PHP 7.3.33
Offline
try this
/apirest.php/search/Ticket/?is_deleted=0
&criteria[0][field]=12&criteria[0][searchtype]=equals&criteria[0][value]=notold
&criteria[1][link]=AND&criteria[1][field]=5&criteria[1][searchtype]=equals&criteria[1][value]=$userid
Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1 Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9
Offline
Thanks , it seems to work, I will test with the parameters of the expression
GLPI 9.5.2;; FusionInventory: 9.2+1.0;; GLPI Modifications 1.1.4;; Notifications 1.1.9;; Dashboard 0.8.8;; PHP 7.3.33
Offline
Pages: 1