onOffice icon

onOffice

onOffice custom node for n8n

Relation → Update

AI-generated

Overview

This node updates a relation between parent and child entities in the onOffice system. It is useful for managing hierarchical or linked data, such as associating contacts, properties, or other entities with specific relationship types and statuses. For example, it can update the relation type between a client and a property, or set appointment confirmation and feedback statuses for related entities.

Use Case Examples

  1. Updating the relation type between a parent contact and multiple child contacts.
  2. Setting appointment confirmation and feedback statuses for a relation between entities.

Properties

Name Meaning
Parent IDs Comma-separated list of parent entity IDs involved in the relation.
Child IDs Comma-separated list of child entity IDs involved in the relation.
Relation Type URN specifying the type of relation between the parent and child entities.
Relation Info Additional information about the relation, including appointment confirmation status and feedback status.

Output

JSON

  • parentIds - List of parent IDs involved in the relation.
  • childIds - List of child IDs involved in the relation.
  • relationtype - URN of the relation type.
  • relationinfo
    • statusTerminbestaetigung - Appointment confirmation status of the relation.
    • statusTerminrueckmeldung - Appointment feedback status of the relation.

Dependencies

  • An API key credential for onOffice API authentication

Troubleshooting

  • Ensure that the parentIds and childIds are provided as comma-separated strings and correspond to valid entity IDs in the onOffice system.
  • Verify that the relationtype URN is correctly formatted and recognized by the onOffice API.
  • Check that the relationinfo fields for confirmation and feedback statuses are set to valid options to avoid API errors.

Discussion