get Schedules
abstract suspend fun getSchedules(unitId: String, endsAfter: String, startsBefore: String? = null, pageConfig: PageConfig? = null): Result<Paged<TimePeriod>>
Content copied to clipboard
Get a paginated TimePeriod for the given unitId.
Since
1.6.0
Return
a paged TimePeriod
Parameters
unit Id
the unit id you will get the schedules.
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
configuration for paginated data fetching