Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

osticket api get tickets

Tags:

json

osticket

I'm currently working with the osTicket API to realize a ticket-system on my website. I already found a way to create tickets with the downloaded example for the osTicket API. But now, I need to get the ticket information via the API, so I can display answers of the ticket on my website. I searched a lot of hours on google but can't find any example or any API references to get ticket informations from the API. Anybody have some code examples or links for me? I really tried my best to find any help on the internet but found nothing.. Best reagards Leif

like image 977
Leif Paisen Avatar asked Aug 30 '16 23:08

Leif Paisen


1 Answers

We have the same issue at our business.so, we expanded API functions to manage ticket operations as :

  • retrieve ticket details.
  • get list of tickets issued by one user.
  • get list of tickets assigned to an agent (staff member).
  • post a reply message to one ticket with updated status. i.e. change ticket status from open to closed.

[APIs implementaion] https://github.com/osTicket/osTicket/pull/4361/files

like image 120
Amal Magdy Avatar answered Oct 07 '22 04:10

Amal Magdy