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-09-07 12:05:48

shuriban
Member
Registered: 2021-09-07
Posts: 3

Problem for create Ticket. Server answer HTML document.

Hello everyone. I'm trying to create a ticket.
But I get all the answer HTML document.
I us method POST on url https://my_glpi_url/apirest.php/Ticket/
Server send status 200, but not a json.
3fd7547a34.png
I am trying to send a parameter "_groups_id_assign_escalation" or/and "_groups_id_assign" but no result.
Headers I checked.

Other methods:
POST Ticket/'.$ticketId.'/ITILFollowup
PUT Ticket/'.$ticketId.'/
GET Ticket/
Work!

I have tried all the options

a8dbede3c6.png

maybe a plugin or setting is interfering?
I did not find similar topics on the forum.
Sorry for my English. Thanks!

Last edited by shuriban (2021-09-07 13:00:00)

Offline

#2 2021-09-13 10:33:39

shuriban
Member
Registered: 2021-09-07
Posts: 3

Re: Problem for create Ticket. Server answer HTML document.

The solution was found.
The glpi_escalation plugin showed the form.
github.com ddurieux glpi_escalation
I found the "_auto_import" parameter in the plugin code that allows you to skip this form.

Offline

Board footer

Powered by FluxBB