Skip to main content
Solved

GET request issue (API)

  • April 23, 2024
  • 1 reply
  • 82 views

anukritij
Apprentice

In the below url :

 

f'https://{FRESHDESK_DOMAIN}.freshdesk.com/api/v2/search/tickets?query="created_at:{date1}"&page={i}'

I am passing date1 in 'YYYY-MM-DD' format but i am unable to get the result if I pass in 'YYYY-MM-DDTHH:MM:SS' format.

Also I guess it would be better if you guys increase the page limit in GET requests. It is possible that there are more than 300 tickets created at any date, in that case it won’t be possible to fetch all of them.

Best answer by Sujitha Dhanaseelan

Hi @anukritij. Thanks for contacting Freshworks community. Based on the API URL shared, it appears that you are utilizing the filter API. Kindly note, the only supported format is YYYY-MM-DD. Any other format will result in an error. As for your request to increase the page limit, we have submitted this as a feature request to our team and will keep you informed once it is released. Thank you for your understanding.

1 reply

Sujitha Dhanaseelan
Community Manager
Forum|alt.badge.img+8

Hi @anukritij. Thanks for contacting Freshworks community. Based on the API URL shared, it appears that you are utilizing the filter API. Kindly note, the only supported format is YYYY-MM-DD. Any other format will result in an error. As for your request to increase the page limit, we have submitted this as a feature request to our team and will keep you informed once it is released. Thank you for your understanding.