Removed
Version 2.1.0 · Breaking Changes
about 4 hours ago
Breaking Changes
- Contract ·
/api/unit-contract-propertiesand/api/unit-contract-property-types(v1, v2): renamed to/api/unit-contract-attributesand/api/unit-contract-attribute-types, since they hold attributes of a unit contract and not properties in the sense of real estate.- Before: the read, create, update, delete, batch and search endpoints of unit contract attributes and their types were served under
/api/unit-contract-propertiesand/api/unit-contract-property-types. - After: the same endpoints are served under
/api/unit-contract-attributesand/api/unit-contract-attribute-types, with the same attributes and behaviour. The old paths no longer exist, and the schemas are namedUnitContractAttribute…andUnitContractAttributeType…instead ofUnitContractProperty…andUnitContractPropertyType…. - Affected: integrations that read or write unit contract attributes or their types, and clients generated from the swagger documents.
- Action: call the new paths and regenerate generated clients.
- Before: the read, create, update, delete, batch and search endpoints of unit contract attributes and their types were served under
Added
GET /api/document-groups/{id}/automatic-sharing(v1, v2) lists the contract types a document group is configured for automatic sharing with. The configuration is still set in the facilioo web application. Only for property managers; experimental. See Documents.POST /api/document-groups/search(v1, v2) supportshasAutomaticSharingandautomaticSharingUnitContractTypeIdsto find the groups with or without automatic sharing, or those configured for one of the given contract types. Both filters only apply for property managers and are ignored for other callers.POST /api/documents/{id}/automatic-sharing/recalculate,POST /api/document-groups/{id}/automatic-sharing/recalculateandPOST /api/parties/{id}/automatic-sharing/recalculate(v1, v2) queue a run of automatic sharing for a document, for the documents filed directly in a group, or for a party, e.g. to backfill the shares after a group's contract type configuration changed. They return204 No Contentwithout waiting for the run. Only for property managers; experimental. See Documents./api/offers(v1, v2) provides read, create, update, delete, batch and search endpoints for offers; search can filter by work order, process or process feed entry.POST /api/work-orders/search(v1, v2) supports the optionalinvoiceIdandofferIdfilters.POST /api/webhook-registrations(v1, v2) supportsInvoice,OfferandUserTaskevents of the typesCreated,UpdatedandDeleted. Invoice and offer events are emitted for changes made through the API, but not for changes made on the facilioo platform. User tasks in private collections emit no events, including when a user task is moved into one.POST /api/webhook-registrations(v1, v2) acceptsUserTaskFeedEntryasentityNameof the enabled events with the typesCreated,UpdatedandDeleted, for changes made through the API as well as on the facilioo platform; comments on user tasks in a private collection send no webhook, see Webhooks and the new concept page User Tasks.- Add
GET /api/tenants/{id}/responsible-accounts(v1, v2) to list accounts with responsibility for a tenant. Requires an Admin or PropertyManagementCompany role and theReadTenantpermission. - Add optional exact multi-value
numbersfilters to property, entrance, tenant and unit searches, andmanagedByPropertyManagementCompanyIdfilters to entrance, tenant and unit searches. - Add
tenantIdto unit searches andisPropertyto property searches. - Add optional
includeChildrento consumption-meter searches. When used withmeteredPropertyId, it also matches meters assigned to descendant entrances and units.
Fixed
- Automatic sharing now runs on the same changes as in the facilioo platform (v1, v2): changing a unit contract's type, move-in or move-out date, unit or party through
/api/unit-contractsand deleting a party through/api/partiesnow update the document shares. Updating a document only triggers a run when its group, assignment or archive state changes. See Documents. - Restrict adding or removing tenant responsible accounts to accounts belonging to the caller's party.
- Return 404 instead of 500 when a required related entity is unavailable on process billing addresses, unit property, tenant and shares, property responsible staff, and voting group, session and session vote endpoints.
How we classify changes and how to subscribe to this changelog is described in Staying Up to Date.
