Pulling back new bookings and editied bookings

Within the RPC endpoint we could pull the bookings that have been created or edited after a certain date by providing either:

“created_date_from” - to get newly created bookings
“edited_date_from” - to get edtited bookings.

How do we do this in the REST based API?

So for example I would like to know which bookings have been created or edited on or after 27th October 2026.

Hello Jon,

if you mean client REST API, there is no such filter. You can only request “upcoming_only” or “past_only”.

in admin (user) REST API you can filter by booking date itself as an interval (“date_from” and “date_to”), but for creation date is a strict single date only (“record_date”). Filtration by creation date interval or by modification date is not possible.

If you find these filters useful, we can add them

Hi

It would be useful if the filtering by a created_date or edited_date could be provided within the REST API.

Our existing integration pulls back bookings that have been created or edited after a date via the RPC endpoint and we would like to move to the REST endpoint.

Without this facility if we move to REST we can only pull back all the bookings onwards from the start_date of the booking and this creates a performance issue as the volume of bookings pulled back by start_date is far greater than the number of bookings pulled back based on the creation or edited date.

Got it

I’ll notify you when filters are added

Thank you, much appreciated.

Any time scale on when this will be made available?

Depends on our release cycle - the change itself is minimal. Probably within a week

Filters deployed:

Added record_date_from/record_date_to and edited_date_from/edited_date_to date filters to GET /admin/bookings.

Naming follows existing record_date filter.

Edited_date_* takes into account all booking modifications except creation (follows JSON-RPC API)

1 Like

Hi,
If I make the following RPC request using https://user-api.simplybook.cc it returns no results as I am using a date in the future of 2027-11-03:

{
“jsonrpc”: “2.0”,
“method”: “getBookings”,
“params”: [
{
“created_date_from”: “2027-11-04”,
“order”: “start_date”
}
],
“id”: 1
}

If I make the following request using the REST endpoint it indicates there are 1000s of bookings for the same date in the future that can be returned using pagination. Am I doing something wrong? I would have expected this to return no rows as it is impossible to create a booking that is stamped with a creation date of next year.

https://user-api-v2.simplybook.cc/admin/bookings?filter[record_date_from]=2027-11-04

Hello Jon,

I saw you’ve posted another request Change in behaviour of REST endpoint when using parameter filter[record_date_from] — does everything work correctly for you at the moment, or the response still looks incorrect?

As far as I know all servers should have already been updated with this filter

If the 2027 request still returns thousands, compare the total and pagination with the same endpoint without any filter; if they match, the filter is likely being ignored rather than matching future records. Also inspect a returned booking’s record_date value and confirm your client is not dropping the bracketed query parameter. The REST filter is named record_date_from, so it may not behave as a direct alias for the RPC created_date_from; testing a known past creation date would show which field it actually constrains.