CompositeBatchRequest

A batch of independent subrequests

CloudCRMCustomer ManagementEnterpriseSales

Properties

Name Type Description
haltOnError boolean
batchRequests array
View JSON Schema on GitHub

JSON Schema

salesforce-sales-cloud-compositebatchrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CompositeBatchRequest",
  "title": "CompositeBatchRequest",
  "type": "object",
  "description": "A batch of independent subrequests",
  "required": [
    "batchRequests"
  ],
  "properties": {
    "haltOnError": {
      "type": "boolean",
      "default": false
    },
    "batchRequests": {
      "type": "array",
      "maxItems": 25,
      "items": {
        "type": "object",
        "required": [
          "method",
          "url"
        ],
        "properties": {
          "method": {
            "type": "string",
            "enum": [
              "GET",
              "POST",
              "PATCH",
              "PUT",
              "DELETE"
            ]
          },
          "url": {
            "type": "string"
          },
          "richInput": {
            "description": "The request body for the subrequest"
          }
        }
      }
    }
  }
}