Flexible Hierarchy Configuration (GET)

Get the configuration of a flexible hierarchy, including the objects and their display fields, relationships, and summary rollups. The viewer context, graph or grid, determines which display fields are returned.

Resource 

1/connect/flexible-hierarchies/{hierarchyId}/configuration

Resource Example 

1https://{yourInstance}.salesforce.com/services/data/v68.0/connect/flexible-hierarchies/0_H1XX0000004_FH1_EAM/configuration?context=graph

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

Available Version 

68.0

HTTP Methods 

GET

Path Parameters for GET 

Parameter NameTypeDescriptionRequired or OptionalAvailable Version
hierarchyIdStringID of the flexible hierarchy.Required68.0

Query Parameters for GET 

Parameter NameTypeDescriptionRequired or OptionalAvailable Version
contextStringViewer context that determines which display fields are returned. Valid values are: graph and grid. The default value is graph.Optional68.0

Response Body for GET 

Flexible Hierarchy Configuration Response