get https://api.robinpowered.com/v1.0/seats//settings/
Gets a setting for a seat
Most common setting_slug
s that can be fetched for a seat are:
seat-reservation-max-length
- A maximum length of a single reservation on this seat in ISO 8601 duration format. For example"P7D"
represents 7 days.seat-reservation-types-allowed
- What kind of reservation types are allowed for this seat. Represented as a string array. Possible reservation types and their explanations are:
hot
- A short term reservation that goes at max to the end of the day.
hoteled
- A long term reservation that has a termination date.
assigned
- A long term reservation that doesn't have a termination date. Instead it's recurring forever on all days.
shared
- A long term reservation that is recurring on only specific days, not all days in a week.
This endpoint will return an array with only a single string value inside for all types that are not theshared
type. So for example["hot"]
or["hoteled"]
or["assigned"]
.
For shared types, the array will have two elements. Either["assigned", "shared"]
or["hoteled", "shared"]
.
["assigned", "shared"]
- Means that this seat should have a recurringshared
reservation on specific days, but on all the other days this desk is not reservable by others.
["hoteled", "shared"]
- Means that this seat should have a recurringshared
reservation on specific days, but on all the other days this desk is reservable by others.