Experience the difference of "Elite".

Please allow the retrieval of records modified since a specified date

Tim
Jun 28, 2024 10:17 AM
Joined Oct, 2018 49 posts

Here's the problem: I pull booking data for a date range, let's say daily or weekly or monthly and put it into SQL

Then, someone gives a refund to a guest a few days after checkout. My data is now obsolete.

The only way to avoid this that I can see is to continually pull old data in case it's changed. 

Ideally, each record would have a "last modified" timestamp (I suspect this might already be the case, but only internally). The API would allow me to specify a "modified since" parameter, and only return data modified since that date. Then, I can update my data.

This would reduce the load on both servers, and provide a better "API experience"

Tim

Tim
Jun 28, 2024 11:08 AM
Joined Oct, 2018 49 posts

Duh. I just found the "since_utc" parameter in the API, which is exactly what I needed. Never mind....