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
/connect/record-aggregation/recordAggregationDefinitionId/record-rollup-results
The recordAggregationDefinitionId parameter is the ID of the record aggregation definition.
Resource example
https://yourInstance.salesforce.com/services/data/v63.0/connect/record-aggregation/16y0000001/record-rollup-results?anchorRecordId=10s0000001
Available version
61.0
HTTP methods
POST
Query parameters for POST
Parameter Name Type Description Required or Optional Available Version
anchorRecordId String ID of the record to which the aggregated records are rolled up. Required 61.0
Request body for POST
JSON example
{
  "sortBy": "Name",
  "isSortOrderAscending": true
}
Properties
Name Type Description Required or Optional Available Version
isSortOrder​Ascending Boolean Indicates whether the sort order is ascending (true) or not (false). The default value is true. Optional 61.0
sortBy String Criteria to sort the record aggregation results. The default value is CreatedDate. Optional 61.0
Response body for POST
Record Rollup Results