Flexible Hierarchy Apply Rules (POST)

Create new flexible hierarchies or update existing hierarchies asynchronously by applying the rules defined in a relationship graph definition. Use the operationMode parameter to create hierarchies for matching root records or to re-apply the rules so that existing hierarchies stay in sync with the source data. This API runs asynchronously and returns an ID to track the request.

The operationMode parameter determines the operation. create uses relationshipGraphDefinitionIds (specify an ID) and either rootRecords or shouldIncludeAllRootRecords to build hierarchies for roots that don’t already have a hierarchy. Don’t specify hierarchyIds when operationMode is create. The update mode uses hierarchyIds to re-run the rules for existing hierarchies. Don’t specify relationshipGraphDefinitionIds or rootRecords when operationMode is update.

{yourInstance} is the domain name of your Salesforce instance.

68.0

POST

Flexible Hierarchy Rule-Based Creation Input

Flexible Hierarchy Rule-Based Creation Response