Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Record Rollup Results

Output representation of the record rollup results.
JSON Example
1{
2  "columns": [
3    {
4      "fieldApiName": "Name",
5      "displayFormatType": "text",
6      "fieldLabel": "Name",
7      "sequence": 0,
8      "isRedirectionEnabled": true,
9      "isSortable": true,
10      "isTypeName": true,
11      "sortByField": "Name"
12    },
13    {
14      "fieldApiName": "BranchUnit",
15      "displayFormatType": "reference",
16      "fieldLabel": "Branch Unit",
17      "sequence": 4,
18      "isRedirectionEnabled": true,
19      "isSortable": true,
20      "isTypeName": false,
21      "sortByField": "BranchUnit.Name"
22    }
23  ],
24  "message": "Successful",
25  "rows": [
26    {
27      "rowData": {
28        "Status": "Active",
29        "Type": "Savings",
30        "Id": "0c7xx000000006TAAQ",
31        "FinancialAccountNumber": "*********0001",
32        "Name": "John Doe",
33        "Case__c": {
34          "Id": "Some ID",
35          "CaseNumber": "000001"
36        }
37      }
38    }
39  ],
40  "statusCode": "200",
41  "totalResultCount": 1,
42  "definitionDisplayName": "Savings Financial Account"
43  "lastUpdatedDetails": {
44	"errorType": "NOT_FOUND",
45	"epochTime": 1733734423000,
46	"processingMode": "Batch"
47  }
48}
Property Name Type Description Filter Group and Version Available Version
columns Record Rollup Result Column[] List of fields that represent the columns of a table. Small, 61.0 61.0
definition​DisplayName String Name of the record aggregation definition. Small, 61.0 61.0
message String Message for the HTTP response code. Small, 61.0 61.0
lastUpdated​Details Record Rollup Result Last Updated Details[] The information about the last time the record rollup results were updated for the specified definition and anchor record ID. Small, 64.0 64.0
rows Record Rollup Result Row[] List of aggregated records that represent the rows of a table. Small, 61.0 61.0
statusCode String HTTP response code for the request. Small, 61.0 61.0
totalResult​Count Integer Total number of record aggregation results. Small, 61.0 61.0