Flexible Hierarchy Add Nodes Input

Input representation to add nodes and relations to a flexible hierarchy.

JSON Example 

1{
2  "nodes": [
3    {
4      "referenceRecordId": "001xx000003GZ12AAG",
5      "referenceRecordObject": "Account",
6      "nodeRole": "Subsidiary"
7    }
8  ],
9  "relations": [
10    {
11      "predecessorId": "001xx000003GZ10AAG",
12      "successorId": "001xx000003GZ12AAG"
13    }
14  ]
15}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
nodesFlexible Hierarchy Node Input[]List of nodes to add. Each node represents a new node in the hierarchy and links it to an underlying Salesforce record.Required68.0
relationsFlexible Hierarchy Relation Input[]List of relations to add. Each relation defines a new parent-child link that connects a new node from the nodes list to an existing parent node.Required68.0