FoyerDevelopers

Generated · Live registry

direktangebot tools

4 tools in this domain, generated from the running registry.

All tool domains

direktangebot.erneutSenden

writesconfirm

Send a direktangebot's payment-link email again after the first send failed or stayed unclear. This sends a REAL email to the guest. Only allowed while the 24-hour hold runs and the mail was not confirmed as sent. Requires confirmation.

Input parameters

FieldTypeRequiredNotes
angebotIdstringyes

Output fields

FieldTypeRequiredNotes
angebotIdstringyes
versandobjectyes
versand.standenumyesOne of: versandt, fehlgeschlagen, unklar
versand.versandtAmstring · nullableyes
versand.fehlerstring · nullableyes
versand.gesendetbooleanyes

direktangebot.senden

writesconfirm

Hold a room for 24 hours and send the guest a payment-link offer. This sends a REAL email to the given address (it cannot be recalled) and blocks the room on all channels until the guest pays or the hold expires. Pass the room, dates, adults, the recipient and the language, plus EITHER the stay the offer is made at (`ursprungStayId`: the guest is that stay's guest) OR, for an offer without a booking, `gastName` (required) and optionally `telefon` and no `ursprungStayId`: the guest is then found in the house by email AND name, or created, and an existing guest is never overwritten. Without a booking, channel forwarding addresses (e.g. …@guest.booking.com) are rejected; use the stay for those guests. Giving both is an error. `betragCents` overrides the proposal (total incl. accommodation tax) and is required when there is no bookable rate. Call `direktangebot_vorschlag` first to see availability and price. Requires confirmation.

Input parameters

FieldTypeRequiredNotes
ursprungStayIdstringno
gastNamestringno
telefonstringno
roomNamestringyes
checkInstringyes
checkOutstringyes
adultsintegeryes
betragCentsinteger · nullableno
emailstringyes
spracheenumyesOne of: de, en

Output fields

FieldTypeRequiredNotes
angebotIdstringyes
stayIdstringyes
externalCodestringyes
kurzlinkstringyes
gueltigBisstringyes
vorschlagCentsnumberyes
betragCentsnumberyes
ueberschriebenbooleanyes
versandobjectyes
versand.standenumyesOne of: versandt, fehlgeschlagen, unklar
versand.versandtAmstring · nullableyes
versand.fehlerstring · nullableyes
versand.gesendetbooleanyes

direktangebot.vorschlag

read-only

Proposal for a direct offer: whether the room is free in the period and what it costs (room price per night plus accommodation tax, same as the direct-booking checkout). With `ursprungStayId` (appending a night to a stay) and no further parameters it defaults to the same room, the night after the stay's departure, the stay's adults, the guest's email address and the guest's language. Without `ursprungStayId` (an offer without a booking) `roomName`, `checkIn` and `checkOut` are required (otherwise `angaben_fehlen`). Without a bookable rate `vorschlag.tarif` is empty, and an amount must then be given when sending. Writes nothing.

Input parameters

FieldTypeRequiredNotes
ursprungStayIdstringno
roomNamestringno
checkInstringno
checkOutstringno
adultsintegerno

Output fields

FieldTypeRequiredNotes
vorbelegungobjectyes
vorbelegung.roomNamestring · nullableyes
vorbelegung.checkInstringyes
vorbelegung.checkOutstringyes
vorbelegung.adultsnumberyes
vorbelegung.emailstring · nullableyes
vorbelegung.spracheenumyesOne of: de, en
vorschlagobject · nullableyes
vorschlag.roomNamestringyes
vorschlag.roomTypestringyes
vorschlag.freibooleanyes
vorschlag.grundstring · nullableyes
vorschlag.naechtenumberyes
vorschlag.tarifobject · nullableyes
vorschlag.tarifGrundstring · nullableyes
vorschlag.logisCentsnumber · nullableyes
vorschlag.steuerCentsnumberyes
vorschlag.gesamtCentsnumber · nullableyes
vorschlag.waehrungstringyes
zimmerarray of objectyes
zimmer.roomNamestringyes
zimmer.roomTypestringyes
zimmer.freibooleanyes
zimmer.gesamtCentsnumber · nullableyes
fehlerstring · nullableyes
haltStundennumberyes

direktangebot.zuAufenthalt

read-only

The direct offers made at a stay OR whose hold stay it is (offers without a booking sit at their hold stay), newest first, each with a state: `offen` (open), `bezahlt` (paid), `abgelaufen` (expired), `versand_fehlgeschlagen` (send failed) or `versand_unklar` (send unclear). `stayId` is the offer's hold stay, `ursprungStayId` the stay the offer was made at (empty without a booking); `kurzlink` is the payment link for offers whose hold is still running. Read-only.

Input parameters

FieldTypeRequiredNotes
stayIdstringyes

Output fields

Returns array of object. Fields of each element:

FieldTypeRequiredNotes
angebotIdstringyes
stayIdstringyes
ursprungStayIdstring · nullableyes
externalCodestring · nullableyes
zimmerstring · nullableyes
anreisestring · nullableyes
abreisestring · nullableyes
betragCentsnumberyes
waehrungstringyes
empfaengerEmailstringyes
zustandenumyesOne of: offen, bezahlt, abgelaufen, versand_fehlgeschlagen, versand_unklar
gueltigBisstring · nullableyes
kurzlinkstring · nullableyes
versandtAmstring · nullableyes
versandFehlerstring · nullableyes
angelegtAmstringyes