QueryResult

Result from a SOQL query execution

CloudCRMCustomer ManagementEnterpriseSales

Properties

Name Type Description
totalSize integer Total number of records matching the query
done boolean Whether all results have been returned
nextRecordsUrl string URL to retrieve the next batch of results (if done is false)
records array Array of matching records
View JSON Schema on GitHub

JSON Schema

salesforce-sales-cloud-queryresult-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/QueryResult",
  "title": "QueryResult",
  "type": "object",
  "description": "Result from a SOQL query execution",
  "properties": {
    "totalSize": {
      "type": "integer",
      "description": "Total number of records matching the query"
    },
    "done": {
      "type": "boolean",
      "description": "Whether all results have been returned"
    },
    "nextRecordsUrl": {
      "type": "string",
      "description": "URL to retrieve the next batch of results (if done is false)"
    },
    "records": {
      "type": "array",
      "description": "Array of matching records",
      "items": {
        "$ref": "#/components/schemas/SObjectRecord"
      }
    }
  }
}