[#97] is there any way to list only those bookings which will occur in the future

Migrated from Redmine #97 | Author: Ara Howard
Status: Resolved | Priority: Normal | Created: 2018-01-30


we sync some data from simplybook but, when syncing, we only need to see those bookings which will occur in the future, not those that have already occurred.

is there a way to ask for only ‘active’ listing where ‘active’ means those that have not already happened?

Dmytro Bondarev wrote:

You can use getClientBookings method for public service

Returns client bookings, accepts $filter ($filter {upcoming_only: true/false, confirmed_only: true/false})

For admin service you can use getBookings and pass dates to filter.