Salesforce · JSON Structure

Salesforce Feed Elements Postand Search Request Structure

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

FeedElementsPostandSearchRequest 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 capabilities subjectId feedElementType

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

JSON Structure

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