Record Rollup Definitions (POST)

Get rollup results for a specific record aggregation definition. Sort the data by name and arrange it in ascending or descending order.

Resource 

1/connect/record-aggregation/{recordAggregationDefinitionId}/record-rollup-results

The {recordAggregationDefinitionId} parameter is the ID of the record aggregation definition.

Resource Example 

1https://{yourInstance}.salesforce.com/services/data/v68.0/connect/record-aggregation/16y0000001/record-rollup-results?anchorRecordId=10s0000001

{yourInstance} is the domain name of your Salesforce instance.

Available Version 

61.0

HTTP Methods 

POST

Query Parameters for POST 

Parameter NameTypeDescriptionRequired or OptionalAvailable Version
anchorRecordIdStringID of the record to which the aggregated records are rolled up.Required61.0

Request Body for POST 

JSON Example 

1{
2  "sortBy": "Name",
3  "isSortOrderAscending": true
4}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
isSortOrder​AscendingBooleanIndicates whether the sort order is ascending (true) or not (false). The default value is true.Optional61.0
sortByStringCriteria to sort the record aggregation results. The default value is CreatedDate.Optional61.0

Response Body for POST 

Record Rollup Results