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 Count Response Body

Describes the result of a Record Count request.

Record Count Results

Properties

Name Type Description
sObjects Record Count sObject Result[] Collection of sObject record count results. The order of objects in the collection is not guaranteed to match the order of objects in the request.

JSON example

1{
2   "sObjects" : [ {
3     "count" : 3,
4     "name" : "Account"
5   }, {
6     "count" : 10,
7     "name" : "Contact"
8   } ]
9}

Record Count sObject Result

Properties

Name Type Description
count Integer The number of records for the object in the org. This is an approximate count and does not include soft-deleted or archived records.
name String The name of the object.

JSON example

1{
2   "count" : 10,
3   "name" : "Contact"
4}