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-11-19 00:18:21

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

Get tickets created after a specified ticket

Hello everyone,
Guys, how to create api request to GET all tickets created after a specific ticket (ticket_id) I need your help for this because I don't know how to do it or how to add criteria if it's not possible just tell me TY smile .
appreciate any help.

Offline

#2 2021-11-19 10:43:47

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

Re: Get tickets created after a specified ticket

you should first get ticket date and then search for tickets created after this date

glpi/apirest.php/search/Ticket/?is_deleted=0&as_map=0&criteria[0][link]=AND&criteria[0][field]=15&criteria[0][searchtype]=morethan&criteria[0][value]=01-11-2020+09:25


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

Board footer

Powered by FluxBB