anliegen.liste
The guest's open and settled requests for a stay — questions from their messages and wishes from the guest portal — oldest first, without those marked as not a real request. A portal wish without its task is left out. Settled source `aufgabe`: the wish's task is done. Read-only query.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
stayId | string | yes |
Output fields
Returns array of object. Fields of each element:
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
quelle | enum | yes | One of: frage, portal |
messageId | string · nullable | yes | |
taskId | string · nullable | yes | |
titel | string | yes | |
zitat | string · nullable | yes | |
status | enum | yes | One of: offen, erledigt |
erledigtQuelle | enum · nullable | yes | One of: manuell, antwort, aufgabe |
erledigtAm | string · nullable | yes | |
createdAt | string | yes |
anliegen.setzen
Marks a guest request as done (`erledigt`), reopens it (`offen`) or marks it as not a real request (`falsch`). For a guest-portal wish this completes or reopens its task, with all the effects of `tasks.updateStatus`. If the request is already in that state, nothing happens (no new timestamp, no audit entry). Mutation — changes data.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
status | enum | yes | One of: erledigt, falsch, offen |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
ok | literal | yes | One of: true |