Add Accommodation
add_my_accommodationAdds an unpriced room under a property in the selected wedding. The property is named by the id of a place already in the wedding or by a name, which uses the place with that name or starts a new one; a room name is required. An id that names no place in the wedding returns a not-found result. The new room has no payment requirement. Results return the saved room and its place's id and name, and say whether the call created that place. A new place is ordered by name among places that have not been reordered, so it is listed first once the properties have been reordered. Requires sign-in and an Aisle membership.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| capacity | No | How many it sleeps | |
| room_name | Yes | The room, e.g. "Garden Suite" | |
| room_type | No | e.g. "Double", "Suite" | |
| wedding_id | No | Identifier of a wedding the signed-in account can manage. Required when the account has multiple weddings. | |
| description | No | Room description | |
| property_id | No | Identifier of a place already in the selected wedding, as an alternative to property_name. | |
| check_in_date | No | Check-in date (ISO format) | |
| check_in_time | No | e.g. 3:00 PM | |
| property_name | No | The property this room belongs to, e.g. "Castel Fragsburg". A name no place has starts a new place. Either this or property_id. | |
| check_in_notes | No | Check-in notes | |
| check_out_date | No | Check-out date (ISO format) | |
| check_out_time | No | e.g. 11:00 AM |