Flexible Hierarchy Snapshot by Version (GET)
Get a single snapshot version of a flexible hierarchy, including its captured nodes and relationships. Use this API to load the full tree for a specific version selected from the snapshot history.
The response is centered on one captured node. Specify nodeId to load that node. If you don’t specify nodeId, the snapshot’s root node is used. Pagination and sort parameters apply to that node’s direct children.
{yourInstance} is the domain name of your Salesforce instance.
68.0
GET
| Parameter Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
hierarchyId | String | ID of the flexible hierarchy associated with the snapshot. | Required | 68.0 |
versionNumber | String | Version number of the snapshot to get the snapshot details for. Specify a positive integer. | Required | 68.0 |
| Parameter Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
nodeId | String | ID of the snapshot node to center on. When omitted, the snapshot’s root node is used. | Optional | 68.0 |
offset | Integer | Number of snapshot nodes to skip before returning results. The default value is 0. | Optional | 68.0 |
pageSize | Integer | Maximum number of snapshot nodes to return on a page. The minimum value is 1. The default value is 20. | Optional | 68.0 |
sortField | String | Field to sort the child nodes by. | Optional | 68.0 |
sortOrder | String | Order of sorting the child nodes. Valid values are: asc and desc. The default value is asc. | Optional | 68.0 |