Skip to main content

Fetch Ticket on the basis of Group ID through API


Hi, 


I want to fetch Tickets on the basis of Group ID with the help of API. 

I am using the below URL for that - 


http://support.knowlarity.com/helpdesk/tickets.json?filter_name=all_tickets&page=1&group_id=


But its giving me all the tickets in the result. Is there any way I can do it.

Any help would be greatly appreciated.

Did this topic help you find an answer to your question?
This topic has been closed for comments

5 replies

  • Community Debut
  • 6 replies
  • March 5, 2015

Hi Abhishek,


After you filter by Groups in the tickets page, you can save your filters as a Custom View: More Info.

Then you can use the Custom Ticket Views API endpoint:

 

http://support.knowlarity.com/helpdesk/tickets/view/[view_id]?format=json

 

 [view_id] is the id of the view that is available in the url after you save the view. 


For further info: API Documentation


  • Author
  • Contributor
  • 3 replies
  • March 5, 2015

Thanks for the Reply Soorya,


I have around 15 groups and the number may increase/decrease in future. So I don't think that would be a permanent solution.

Is there something like I can pass as parameter in request and result will be fetched accordingly (As right now, we could fetch tickets on the basis of Contacts "Email" & Customer "company name").


Thanks,

Abhishek


  • Community Debut
  • 6 replies
  • March 5, 2015

Hi Abhishek,


I agree that is a valid point. Currently we support only the above explained workaround. We will take this as a feature request, but we currently do not have an ETA. 


  • Author
  • Contributor
  • 3 replies
  • March 5, 2015

Ok Soorya,


Thanks for your support. Hope we will get a solution soon.



  • Apprentice
  • 1 reply
  • July 25, 2016

Any updates on this?