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 2019-05-02 13:59:13

Akuket
Member
Registered: 2019-05-02
Posts: 3

TicketFollowup

Hello,

We use the rest API of glpi to create tickets and follow-ups. Before we used the url Ticket/:id:TicketFollowup to add a followup to one ticket. But now, we have a 400 error. Maybe since TicketFollowup class is deprecated? Must we do use the ITILFollowup? And with what url and parameters?

Regards.

Offline

#2 2019-05-02 14:35:38

Akuket
Member
Registered: 2019-05-02
Posts: 3

Re: TicketFollowup

It's ok.
For the others, the url is /ITILFollowup and the content is (by example in .net)
dynamic ticketFollowUp = new
{
      input = new
      {
            items_id = ticketId,
            itemtype = "Ticket",
            content = comment,
            is_private = "0",
            requesttypes_id = "2"
      }
};

Offline

Board footer

Powered by FluxBB