Salesforce · JSON Structure

Salesforce Composite Response Structure

Type: object Properties: 4 Required: 4
Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

CompositeResponse is a JSON Structure definition published by Salesforce, describing 4 properties, of which 4 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

body httpHeaders httpStatusCode referenceId

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "CompositeResponse",
  "properties": {
    "body": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "success": {
          "type": "boolean"
        },
        "errors": {
          "type": "array",
          "description": "",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "id",
        "success",
        "errors"
      ]
    },
    "httpHeaders": {
      "type": "object",
      "properties": {
        "Location": {
          "type": "string"
        }
      },
      "required": [
        "Location"
      ]
    },
    "httpStatusCode": {
      "type": "integer"
    },
    "referenceId": {
      "type": "string"
    }
  },
  "required": [
    "body",
    "httpHeaders",
    "httpStatusCode",
    "referenceId"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}