Salesforce · JSON Structure

Salesforce Composite Graph Request Structure

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

CompositeGraphRequest 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

graphs

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "CompositeGraphRequest",
  "properties": {
    "graphs": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object",
        "properties": {
          "graphId": {
            "type": "string"
          },
          "compositeRequest": {
            "type": "array",
            "description": "",
            "items": {
              "type": "object",
              "properties": {
                "method": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                },
                "referenceId": {
                  "type": "string"
                },
                "body": {
                  "type": "object",
                  "properties": {
                    "Name": {
                      "type": "object"
                    },
                    "Custom__c": {
                      "type": "object"
                    }
                  },
                  "required": [
                    "Name",
                    "Custom__c"
                  ]
                }
              },
              "required": [
                "method",
                "url",
                "referenceId"
              ]
            }
          }
        },
        "required": [
          "graphId",
          "compositeRequest"
        ]
      }
    }
  },
  "required": [
    "graphs"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}