[#843] Filtering booking list with Redeemable Code and time frame

Migrated from Redmine #843 | Author: Antonio Graterol
Status: New | Priority: High, I’m very impatient | Created: 2022-02-09


Hi dear Team! I hope you’re doing great!

In this occasion I’m trying fetch a list of bookings filtered by an specific Redeemable Code or Redeemable Code id (promotion_instance_id) and timeframe.

In a previous time some of you helped me out with a similar task, that was getting the invoices list filtered by the same criteria. This is the URL for that “https://user-api-v2.simplybook.me/admin/invoices?page=&on_page=&filter[promotion_instance_id]=&filter[datetime_from]=&filter[datetime_to]=”. I want to do the same but for the booking list.

I tried this with some variations but didn’t work “https://user-api-v2.simplybook.me/admin/bookings?page=&on_page=&filter[promotion_instance_id]=&filter[datetime_from]=&filter[datetime_to]=”.

Would you help me on making this work. It’d be very much appreciated.

Have a nice day!

Antonio Graterol

Redmine Admin wrote:

Hi, unfortunately we do not have such functionality

Antonio Graterol wrote:

Redmine Admin wrote:

Hi, unfortunately we do not have such functionality

Thanks for your quick reply, I now know which will be may way.

Cheers!