Salesforce · JSON Structure

Salesforce Successful Composite Structure

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

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

Properties

compositeResponse

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "SuccessfulComposite",
  "properties": {
    "compositeResponse": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object",
        "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"
        ]
      }
    }
  },
  "required": [
    "compositeResponse"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}