---
schema_version: "1"
id: 4d34a435d034b2959b4d08fa320de1a7be30f2e81d273f112a5c6d459e94a643
title: Flexible Hierarchy Snapshot Search (GET)
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/financial_services_cloud_object_reference/connect_resources_flexible_hierarchy_snapshot_search.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/connect_resources_flexible_hierarchy_snapshot_search.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 6e28344df590ba2d372ebf77fb94e506745f793775a3d0eb29d27d9c67234805
description: Search the nodes in a specific flexible hierarchy snapshot version to find the nodes by display name, optionally filtered by object type.
---
# Flexible Hierarchy Snapshot Search (GET)

Search the nodes in a specific flexible hierarchy snapshot version to find the nodes by display name, optionally filtered by object type.

The search is limited to the snapshot version that you specify. Each result is a captured node whose display name matches searchQuery. Set entityType to the API name of one captured object, or to all to search every object in that snapshot.

## Resource

/connect/flexible-hierarchies/hierarchyId/snapshots/versionNumber/actions/search

## Resource Example

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

## Available Version

68.0

## HTTP Methods

GET

## Path Parameters for GET

| Parameter Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| hierarchyId | String | ID of the flexible hierarchy that the snapshot belongs to. | Required | 68.0 |
| versionNumber | String | Version number of the snapshot to search within. | Required | 68.0 |

## Query Parameters for GET

| Parameter Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| entityType | String | API name of the object whose snapshot nodes to search. Specify all to search all objects within the specified snapshot version. | Required | 68.0 |
| searchQuery | String | Text to search in the node name field of the snapshot. | Required | 68.0 |

## Response Body for GET

[Flexible Hierarchy Search](https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/connect_responses_flexible_hierarchy_search.htm "Output representation of the snapshot nodes whose captured display name matches the search text, along with the status of the request.")