get Bookings
abstract suspend fun getBookings(endsAfter: String, startsBefore: String? = null, pageConfig: PageConfig? = null): Result<Paged<Booking>>
Content copied to clipboard
Get Booking's. Bookings are sorted by Booking.startsAt. You will get bookings paginated based on your PageConfig.
Since
1.5.0
Return
a result of paged booking items.
Parameters
ends After
(ISO 8601) timestamp. You will get bookings that ends after this timestamp.
starts Before
(ISO 8601) timestamp. You will get bookings that starts before this timestamp. When startsBefore is null you will get all bookings that endsAfter.
page Config
(optional) sets the configuration for loading the next page.