Solved

Filter Requester does not support updated_at?

  • 7 June 2022
  • 2 replies
  • 30 views

Badge

Hi I’m having trouble getting all the requesters based on updated_at in Freshservice.

For example https://domain.freshservice.com/api/v2/requesters?updated_at=2019-10-02T02:00:00Z

results in 400 BAD request with

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

Best answer by Adhitya Ganesh 7 June 2022, 11:38

View original

2 replies

Userlevel 3
Badge +2

Hi James, 


I believe you are trying to get the requester data using API and you are trying to filter these data based on the last updated date. We will be able to get the required data by modifying the callback URL as follows:https://domain.freshservice.com/api/v2/requesters?query="updated_at:'2019-10-02T02:00:00Z'".By this way, you can pull in requester data based on their last updated date. 

 

Warm Regards,

G.Adhitya,

Freshworks Support.

Badge

Hi James, 


I believe you are trying to get the requester data using API and you are trying to filter these data based on the last updated date. We will be able to get the required data by modifying the callback URL as follows:https://domain.freshservice.com/api/v2/requesters?query="updated_at:'2019-10-02T02:00:00Z'".By this way, you can pull in requester data based on their last updated date. 

 

Warm Regards,

G.Adhitya,

Freshworks Support.

Hi Adhitya,

I’ve tried your suggestion just now and it works well.

Thank you so much for your help.

Regards,
James

Reply