Salesforce · JSON Structure

Salesforce Publishmultipleevents Request Structure

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

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

Properties

allOrNone compositeRequest

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "PublishmultipleeventsRequest",
  "properties": {
    "allOrNone": {
      "type": "boolean"
    },
    "compositeRequest": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object",
        "properties": {
          "method": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "referenceId": {
            "type": "string"
          },
          "body": {
            "type": "object",
            "properties": {
              "Annual_Mileage__c": {
                "type": "integer"
              },
              "Current_Vehicle__c": {
                "type": "string"
              },
              "Model_Year__c": {
                "type": "integer"
              }
            },
            "required": [
              "Annual_Mileage__c",
              "Current_Vehicle__c",
              "Model_Year__c"
            ]
          }
        },
        "required": [
          "method",
          "url",
          "referenceId",
          "body"
        ]
      }
    }
  },
  "required": [
    "allOrNone",
    "compositeRequest"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}