Change a rental property
update_propertyChanges a rental property, by its id from list_properties: what it is called, its address, who owns what share of it, or whether it is still active (a property that was sold or is no longer let; its records stay). owners replaces every owner it has now, so include the ones that stay; the shares add up to exactly 100. Give only what changes: every parameter left out keeps the value the record has now. Read the record first, and confirm the change with the person before making it. Needs the rental module switched on. Only for an organisation where this connection may add and change records (list_organisations says which). The answer is the changed property.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Optional fields to empty, by parameter name, any of: label, address (one of them stays). | |
| label | No | What the property is called. | |
| active | No | false when the property is no longer let, true to make it active again. | |
| owners | No | Every owner and their share from now on. | |
| address | No | The property's street address, on one line. | |
| property_id | Yes | The property's id, from list_properties. | |
| organisation_id | No | The id of the organisation to use, from list_organisations. Leave it out when the connection covers only one organisation; it is required when it covers more than one. |