FoyerDevelopers

Generated · Live registry

vermietungMietverhaeltnisse tools

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

All tool domains

vermietungMietverhaeltnisse.holen

read-only

One tenancy with tenant (name, email, phone), apartment, period, amount and status, plus the ids of apartment, request and offer, the Stripe payment (paymentIntentId), storniertAm and createdAt. A tenancy of another tenant or an unknown one results in NOT_FOUND. Owner of a rental tenant only. Read-only query.

Input parameters

FieldTypeRequiredNotes
idstringyes

Output fields

FieldTypeRequiredNotes
idstringyes
wohnungstringyes
namestringyes
emailstringyes
telefonstring · nullableyes
einzugstringyes
auszugstringyes
betragCentsintegeryes
statusenumyesOne of: bestaetigt, storniert
wohnungIdstringyes
anfrageIdstringyes
angebotIdstringyes
paymentIntentIdstringyes
storniertAmstring · nullableyes
createdAtstringyes

vermietungMietverhaeltnisse.liste

read-only

The tenancies (paid rents), sorted by move-in (at most 500): id, wohnung (title), name, email, telefon, einzug and auszug (YYYY-MM-DD, auszug = last day of the tenancy), betragCents (first payment) and status (bestaetigt, storniert). With ab (YYYY-MM-DD) only those whose move-out is on or after that day. Owner of a rental tenant only. Read-only query.

Input parameters

FieldTypeRequiredNotes
abstringno

Output fields

Returns array of object. Fields of each element:

FieldTypeRequiredNotes
idstringyes
wohnungstringyes
namestringyes
emailstringyes
telefonstring · nullableyes
einzugstringyes
auszugstringyes
betragCentsintegeryes
statusenumyesOne of: bestaetigt, storniert

vermietungMietverhaeltnisse.stornieren

writes

Cancels a confirmed tenancy (grund: 1 to 500 characters, one line): status storniert, the blocked nights of the apartment become free, the request is cancelled. Foyer refunds NOTHING — hinweis says the refund has to be issued in Stripe. An already cancelled tenancy results in CONFLICT, one of another tenant or an unknown one in NOT_FOUND. Owner of a rental tenant only. Changes data. Mutation — changes data.

Input parameters

FieldTypeRequiredNotes
idstringyes
grundstringyes

Output fields

FieldTypeRequiredNotes
okliteralyesOne of: true
hinweisstringyes