vermietungHaeuser.aendern
writes
Changes the fields sent for a house (id, plus name, strasse, plz, ort, lageText; a null lageText clears the text). A house of another tenant results in NOT_FOUND. Owner of a rental tenant only. Changes data. Mutation — changes data.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
name | string | no | |
strasse | string | no | |
plz | string | no | |
ort | string | no | |
lageText | string · nullable | no |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
vermietungHaeuser.anlegen
writes
Creates a house (name, strasse, plz, ort, optional lageText) and returns its id. Owner of a rental tenant only. Changes data. Mutation — changes data.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
name | string | yes | |
strasse | string | yes | |
plz | string | yes | |
ort | string | yes | |
lageText | string · nullable | no |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
vermietungHaeuser.liste
read-only
Lists all houses of the rental business (name, street, postal code, city, location description), sorted by creation. Owner of a rental tenant only. Read-only query.
Input parameters
Returns object.
Output fields
Returns array of object. Fields of each element:
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
name | string | yes | |
strasse | string | yes | |
plz | string | yes | |
ort | string | yes | |
lageText | string · nullable | yes |