Skip to main content
Answer

Filter Requester does not support updated_at?

  • June 7, 2022
  • 2 replies
  • 78 views

cool1412james
Apprentice
Forum|alt.badge.img

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"}]}

Best answer by Adhitya Ganesh

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.

2 replies

Adhitya Ganesh
Community Debut
Forum|alt.badge.img+2
  • Community Debut
  • Answer
  • June 7, 2022

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.


cool1412james
Apprentice
Forum|alt.badge.img
  • Author
  • Apprentice
  • June 8, 2022

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