get Bookable Units
abstract suspend fun getBookableUnits(parentUnitId: String? = null, pageConfig: PageConfig?, endsAfter: String): Result<Paged<SensorbergUnit.BookableUnit>>
Content copied to clipboard
Get BookableUnit's in a paginated way.
Since
1.5.0
Parameters
parent Unit Id
(optional) the id of the parent unit. When set you will get the child units only.
page Config
(optional) sets the configuration for loading the next page.
ends After
(ISO 8601) timestamp. You will get Bookings that ends after this timestamp.