Start a new topic
Solved

Filter tickets does not support updated_at field

 According to API documentation https://developer.freshdesk.com/api/#filter_tickets

filter tickets supports updated_at field


yet by calling https://mycompany.freshservice.com/api/v2/search/tickets?query=%22updated_at%3A%272019-10-01%27%22

results in 400 BAD request with


 

{"description":"Validation failed","errors":[{"field":"updated_at","message":"Unexpected/invalid field in request","code":"invalid_field"}]}

 

Hi Giannis,


It looks like you are using the wrong attribute in the API URL. Can you please try updated_since rather than updated_at 


Hope that solves the issue.


Please find a sample query below:


https://domain.freshservice.com/api/v2/tickets?updated_since=2019-10-02T02:00:00Z


You can also refer to this link for further information : https://api.freshservice.com/v2/#view_all_ticket


Thanks for using Freshservice!




Login or Signup to post a comment
JS Bin