Get a paginated list of snapshots for a specific flexible hierarchy. Each snapshot
represents the hierarchy's structure as it existed when it was captured, and includes metadata
such as the captured date, version number, and node count.
Resource
/connect/flexible-hierarchies/hierarchyId/snapshots
Resource Example
https://yourInstance.salesforce.com/services/data/v68.0/connect/flexible-hierarchies/0H1xx0000004FH1EAM/snapshots
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 whose snapshots you want to retrieve. | Required | 68.0 |
Query Parameters for GET
| Parameter Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
| snapshotDate | String | Date to get snapshots captured on the specified date. The date must be in YYYY-MM-DD format. If no snapshot exists on the specified date, the API returns snapshots from the closest earlier date with available snapshots. Empty if no snapshots were captured on or before the specified date. | Optional | 68.0 |