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-06-14 17:55:17

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

tickets (requester and assigned to) fields

hello everyone .

i need to use a get request to get the Requester and assigned to fields of a tickets

using this url :https://aziz.with7.glpi-network.cloud/apirest.php/Ticket/ doesn't show those information

Offline

#2 2021-06-14 20:17:44

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,807
Website

Re: tickets (requester and assigned to) fields

/Ticket/TICKET_ID/Ticket_User will show users. In each user returned, there is a type property. Type 1 is requester, 2 is assigned to, and 3 is watcher.
For the other actor types, replace Ticket_User with one of the following:
Groups: Group_Ticket
Suppliers: Supplier_Ticket


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

Board footer

Powered by FluxBB