Removed

Version 2.1.0 · Breaking Changes

Breaking Changes

  • Contract · /api/unit-contract-properties and /api/unit-contract-property-types (v1, v2): renamed to /api/unit-contract-attributes and /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-properties and /api/unit-contract-property-types.
    • After: the same endpoints are served under /api/unit-contract-attributes and /api/unit-contract-attribute-types, with the same attributes and behaviour. The old paths no longer exist, and the schemas are named UnitContractAttribute… and UnitContractAttributeType… instead of UnitContractProperty… and UnitContractPropertyType….
    • 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.

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) supports hasAutomaticSharing and automaticSharingUnitContractTypeIds to 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/recalculate and POST /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 return 204 No Content without 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 optional invoiceId and offerId filters.
  • POST /api/webhook-registrations (v1, v2) supports Invoice, Offer and UserTask events of the types Created, Updated and Deleted. 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) accepts UserTaskFeedEntry as entityName of the enabled events with the types Created, Updated and Deleted, 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 the ReadTenant permission.
  • Add optional exact multi-value numbers filters to property, entrance, tenant and unit searches, and managedByPropertyManagementCompanyId filters to entrance, tenant and unit searches.
  • Add tenantId to unit searches and isProperty to property searches.
  • Add optional includeChildren to consumption-meter searches. When used with meteredPropertyId, 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-contracts and deleting a party through /api/parties now 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.