Flexible Hierarchy Relation Input

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

JSON Example 

1{
2  "relationId": "07kxx0000004AcRAAU",
3  "relatedRecordObject": "AccountContactRelation",
4  "predecessorId": "001xx000003GZ10AAG",
5  "successorId": "003xx000004TmiQAAS"
6}

Properties 

NameTypeDescriptionRequired 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