Fetch Ticket on the basis of Group ID through API

  • 4 March 2015
  • 5 replies
  • 210 views

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.



This topic has been closed for comments

5 replies

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


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


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. 


Ok Soorya,


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




Any updates on this?