Planned

API - Include Category field on search result

When I get a specific ticket

https://domain.freshservice.com/api/v2/tickets/12345 I can see the field category ("category": "MyCategory")


If I do this:

https://domain.freshservice.com/api/v2/search/tickets?query="(agent_id:77777)"

category field is not included.

Is there a way to get this included when doing a search?


Thanks.


Hi there,


You can make use of API V1 for this as the query function is yet to be enhanced for API V2.


Below is a sample query for the same, 


https://domain.freshservice.com/helpdesk/tickets.json?query=responder_id%20is%2011000340374


Thanks for using Freshservice!

Hi Ezequiel,


This is not supported at the moment, however,  I hope you will be happy to know that we have submitted this to our product team as an enhancement to be considered for API v2 which is currently in Beta.


Best Regards,

Team Freshservice

Login or Signup to post a comment