Flexible Hierarchy Search (GET)

Search the nodes in a flexible hierarchy to find the nodes by the name of their reference record, filtered by object type.

Resource 

1/connect/flexible-hierarchies/{hierarchyId}/actions/search

Resource Example 

1https://{yourInstance}.salesforce.com/services/data/v68.0/connect/flexible-hierarchies/0_H1XX0000004_FH1_EAM/actions/search?searchQuery={text}&entityType={objectApiName}

{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 to search within.Required68.0

Query Parameters for GET 

Parameter NameTypeDescriptionRequired or OptionalAvailable Version
entityTypeStringAPI name of the object whose nodes to search.Required68.0
searchQueryStringText to search in the name of the reference records of the flexible hierarchy nodes.Required68.0

Response Body for GET 

Flexible Hierarchy Search