Retrieves a single space.
const spaceId = 10303
await deskbookers.spaces.retrieve(spaceId)
Name | Type | Description | Required |
---|---|---|---|
id | Number | Space ID | Yes |
Retrieves the urgency data for a workspace; the amount of visitors or bookings for a given date range.
Supply parameters as either an Object
, or Array
for multiple sets of data.
const urgency = await deskbookers.spaces.urgency(12345, {
type: 'visitors',
city: 'amsterdam',
start: Date,
end: Date
})
Name | Type | Description | Required |
---|---|---|---|
id | Number | Space ID | Yes |
params | Array or Object |
Query options | Yes |