You are not logged in.
Pages: 1
Hi,everyone
i'm trying to add a ticket followup to the ticket with idin this case"6" using this post request but it dosen't work
POST /apirest.php/Ticket/6/TicketFollowup
headers:
> session-token: 6v3lgvr57t0m64bdjihqxxxx
> Content-Type: application/json
body:
| {"input":{ "content":"test1" }}
but i keep getting ERROR_GLPI_ADD
appreciate any solution .
Offline
Hello,
If you want to add a foolowUp, you must be on TicketFollowup api. So your URL is wrong. You have to type this one : /apirest.php/TicketFollowup
After in your input you have to indicate the type of Followup (ticket) and the id of the ticket. And of course your content
Apps Android GLPI Management : https://play.google.com/store/apps/deta … fr.dmn.app
Site Web : http://mdu-tech.fr/
GLPI 9.5.5 sur IIS 10 / PHP 8 / MySQL
Offline
Thank you so much
Last edited by aziz (2021-06-08 14:04:22)
Offline
TicketFollowup was deprecated a while ago and I thought it was removed in 9.5. You should use ITILFollowup instead.
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
You're right. Just change TicketFollowup by ITILFollowup in the url
Apps Android GLPI Management : https://play.google.com/store/apps/deta … fr.dmn.app
Site Web : http://mdu-tech.fr/
GLPI 9.5.5 sur IIS 10 / PHP 8 / MySQL
Offline
Pages: 1