Answered

API Getting Data

I am trying to get our Help Desk Data out using the API. 


Every time I get the data, I get the most recent data. 

So even if I use updated_since if March 2017, the first 100 responses are the same as if I put in Sept. 2018. 


Can I put a range, so after my first call, I can start to gather tickets at the last date I received in the prev call. I want to pick up where my last call left.


If the first page is always most recent, then I am always querying the same data


Thanks


Best Answer

Hello,


Welcome to the Freshdesk community. Congrats on your first post here.


You can use the combination of updated_since and order_type params in your GET request to fetch the tickets, starting from the oldest. You can then traverse through the different pages using the page parameter.


Cheers!


Answer

Hello,


Welcome to the Freshdesk community. Congrats on your first post here.


You can use the combination of updated_since and order_type params in your GET request to fetch the tickets, starting from the oldest. You can then traverse through the different pages using the page parameter.


Cheers!

Thanks!


I missed the order_type param on the documentation! 

Login or Signup to post a comment