zimmerWissen.list
All active rooms with their effective knowledge (bathroom, number of persons, beds, amenities including their origin; per amenity present, explicitly not present, or unknown, with an optional note) and the stored entries per room type and room. Read-only query.
Input parameters
Returns object.
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
zimmer | array of object | yes | |
zimmer.zimmer | string | yes | |
zimmer.typ | string · nullable | yes | |
zimmer.anzeigename | string · nullable | yes | |
zimmer.bad | enum · nullable | yes | One of: eigenes, gemeinsam |
zimmer.maxPersonen | number · nullable | yes | |
zimmer.betten | object · nullable | yes | |
zimmer.ausstattung | array of string | yes | |
zimmer.nichtVorhanden | array of string | yes | |
zimmer.ausstattungHinweise | object | yes | |
zimmer.hinweis | object · nullable | yes | |
zimmer.quelle | object | yes | |
eintraege | array of object | yes | |
eintraege.id | string | yes | |
eintraege.geltung | enum | yes | One of: typ, zimmer |
eintraege.schluessel | string | yes | |
eintraege.bad | enum · nullable | yes | One of: eigenes, gemeinsam |
eintraege.maxPersonen | number · nullable | yes | |
eintraege.betten | object · nullable | yes | |
eintraege.ausstattung | array of string | yes | |
eintraege.nichtVorhanden | array of string | yes | |
eintraege.ausstattungHinweise | object · nullable | yes | |
eintraege.hinweis | object · nullable | yes | |
eintraege.updatedAt | string | yes | |
ausstattungSchluessel | array of string | yes |
zimmerWissen.loeschen
Removes the entry for a room type or a room (owner only); the room then inherits everything from the type again. Mutation — changes data.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
geltung | enum | yes | One of: typ, zimmer |
schluessel | string | yes |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
ok | boolean | yes | |
geloescht | boolean | yes |
zimmerWissen.upsert
Creates or changes the knowledge for a room type or an individual room (owner only); fields not passed remain unchanged, `null` clears a field, and every actual change is recorded in the audit log. There are three states per amenity: `ausstattung` (present), `nichtVorhanden` (explicitly not present), or in neither list (unknown — the property then does not answer the guest). A key must not appear in both lists; to switch, send both lists in the same call… Mutation — changes data.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
geltung | enum | yes | One of: typ, zimmer |
schluessel | string | yes | |
bad | enum · nullable | no | One of: eigenes, gemeinsam |
maxPersonen | integer · nullable | no | |
betten | object · nullable | no | |
ausstattung | array of enum | no | |
nichtVorhanden | array of enum | no | |
ausstattungHinweise | object · nullable | no | |
hinweis | object · nullable | no |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
id | string · nullable | yes | |
geaendert | boolean | yes |
zimmerWissen.vorschlaege
Suggests values for empty fields from the room types without storing anything: bathroom from the type name, number of persons from the existing source or the type name. Read-only query.
Input parameters
Returns object.
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
typen | array of object | yes | |
typen.schluessel | string | yes | |
typen.bad | enum | no | One of: eigenes, gemeinsam |
typen.maxPersonen | number | no | |
typen.maxQuelle | enum | no | One of: vorhanden, typname |
zimmer | array of object | yes | |
zimmer.schluessel | string | yes | |
zimmer.bad | enum | yes | One of: eigenes, gemeinsam |