Manage property facilities

Add, update or remove property-level facilities

Changed on

Add or update single or multi-instances facilities using this endpoint. Try the available request examples in the specification.

To delete a facility or all instances of a multi-instance facility (for example: all parking facility), you can change the facility state to MISSING.

Important — overlay semantics for multi-instance facilities: This endpoint replaces the full set of instances for any facility you include in the request. If you omit an existing instance, it is permanently deleted. Facility types not included in the request are unaffected.

Before updating a multi-instance facility (Parking, Restaurant, Swimming Pool), call GET /facilities-api/properties/{propertyId} to retrieve the current instance IDs for that facility, then include all of them alongside your changes in the PUT body. To add a new instance without disturbing existing ones, include the existing instances with their instance_id values plus the new instance (without an instance_id).

put/facilities-api/properties/{propertyId}

Request

Path parameters

propertyIdinteger required

Request body

facility_idinteger required

Property Facility ID

state'MISSING' | 'PRESENT' required

Is facility Present/Missing?

Response

OK

Changes

    • breaking

      added to the /// request property allOf list

    • warning

      removed from the /// request property allOf list

    • info

      endpoint added