Send a request to the hotel
request_offerSends a non-binding offer request to the reservation team, like the form on the website; also for company stays (company in name, number of employees in employees). Books and charges nothing. Call it only after the guest saw the exact content and agreed to send it (confirm: true) and to the privacy policy (privacy_consent: true); otherwise CONFIRMATION_REQUIRED and nothing is sent. NOT_DELIVERED means nothing was sent: give the hotel phone and e-mail instead. The team answers by e-mail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Full name of the guest. | |
| Yes | E-mail address for the answer. | ||
| house | No | Requested house, or all if the guest has no preference. | all |
| phone | No | Optional phone number. | |
| guests | No | Optional number of guests. | |
| arrival | No | Optional arrival date, YYYY-MM-DD. | |
| confirm | No | true only if the guest explicitly confirmed sending this request. | |
| message | Yes | The request in the words of the guest. | |
| language | No | Language of texts and links: de, nl, en. Default de. | de |
| departure | No | Optional departure date, YYYY-MM-DD. | |
| employees | No | Only for a company stay: the number of employees who would stay. | |
| privacy_consent | No | true only if the guest agreed to the privacy policy (its URL is the link in the CONFIRMATION_REQUIRED answer). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success; false with code and message on an error. | |
| code | No | Error code when ok is false, e.g. VALIDATION, NOT_FOUND, UNAVAILABLE. | |
| message | No | Readable error message when ok is false. |