ConnectApi.FlexibleHierarchyRelationInputRepresentation

Input representation for a relation to add between the nodes of a flexible hierarchy.

PropertyTypeDescriptionRequired or OptionalAvailable Version
predecessorIdStringID of the reference record of the parent flexible hierarchy node.Required68.0
relatedRecordObjectStringAPI name of the object of the record specified in relationId. To create a plain structural parent-child relation, don’t specify relationId and relatedRecordObject.Required if relationId is specified.68.0
relationIdStringID of a separate record, such as an AccountAccountRelation record, that provides additional business context for the parent-child link. This value isn’t the ID of the link itself. To create a plain structural parent-child relation, don’t specify relationId and relatedRecordObject.Required if relatedRecordObject is specified.68.0
successorIdStringID of the reference record of the child flexible hierarchy node.Required68.0