Flexible Hierarchy Summary Rollups (GET)

Get paginated summary rollup records for a flexible hierarchy and a rollup type. The records are returned in breadth-first order from the root of the hierarchy. Each page walks up to 2,000 nodes. To get the next page, specify the nextOffset value from the pagination details of the previous response in the offset query parameter.

Resource 

1/connect/flexible-hierarchies/{hierarchyId}/summary-rollups

Resource Example 

1https://{yourInstance}.salesforce.com/services/data/v68.0/connect/flexible-hierarchies/0_H1XX0000004_FH1_EAM/summary-rollups?nodeMeasureType=Credit&offset=0

{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 whose summary rollup records you want to get.Required68.0

Query Parameters for GET 

Parameter NameTypeDescriptionRequired or OptionalAvailable Version
nodeMeasureTypeStringType of rollup to return. The value must match a nodeMeasureType value in the summaryRollupList property of the flexible hierarchy configuration.Required68.0
offsetIntegerNumber of nodes to skip from the root, in breadth-first order, before returning the next page of summary rollup records. The value must be 0 or greater. To get the first page, omit this parameter or specify 0. To get the next page, specify the nextOffset value from the previous response. The default value is 0.Optional68.0

Response Body for GET 

Flexible Hierarchy Summary Rollups Response