Flexible Hierarchy Snapshots (GET)

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 

1/connect/flexible-hierarchies/HIERARCHY_ID/snapshots

Resource Example 

1https://YOUR_INSTANCE.salesforce.com/services/data/v68.0/connect/flexible-hierarchies/0_H1XX0000004_FH1_EAM/snapshots

Available Version 

68.0

HTTP Methods 

GET

Path Parameters for GET 

Parameter NameTypeDescriptionRequired or OptionalAvailable Version
hierarchyIdStringID of the flexible hierarchy whose snapshots you want to retrieve.Required68.0

Query Parameters for GET 

Parameter NameTypeDescriptionRequired or OptionalAvailable Version
snapshotDateStringDate 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.Optional68.0

Response Body for GET 

Flexible Hierarchy Snapshots Response