Salesforce · JSON Structure

Salesforce Feed Elements Batch Post Request Structure

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

FeedElementsBatchPostRequest 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

inputs

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "FeedElementsBatchPostRequest",
  "properties": {
    "inputs": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object",
        "properties": {
          "richInput": {
            "type": "object",
            "properties": {
              "subjectId": {
                "type": "string"
              },
              "body": {
                "type": "object",
                "properties": {
                  "messageSegments": {
                    "type": "array",
                    "description": "",
                    "items": {
                      "type": "object"
                    }
                  }
                },
                "required": [
                  "messageSegments"
                ]
              },
              "capabilities": {
                "type": "object",
                "properties": {
                  "files": {
                    "type": "object",
                    "properties": {
                      "items": {
                        "type": "object"
                      }
                    },
                    "required": [
                      "items"
                    ]
                  }
                },
                "required": [
                  "files"
                ]
              },
              "feedElementType": {
                "type": "string"
              }
            },
            "required": [
              "subjectId",
              "body",
              "feedElementType"
            ]
          }
        },
        "required": [
          "richInput"
        ]
      }
    }
  },
  "required": [
    "inputs"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}