Salesforce · Schema

FeedElementsPostandSearchRequest

Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

Properties

Name Type Description
body object
capabilities object
subjectId string
feedElementType string
View JSON Schema on GitHub

JSON Schema

salesforce-feed-elements-postand-search-request-schema.json Raw ↑
{
  "type": "object",
  "properties": {
    "body": {
      "type": "object",
      "properties": {
        "messageSegments": {
          "type": "array",
          "description": "",
          "example": [],
          "items": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "example": "example_value"
              },
              "text": {
                "type": "string",
                "example": "example_value"
              },
              "markupType": {
                "type": "string",
                "example": "example_value"
              },
              "id": {
                "type": "string",
                "example": "abc123"
              }
            },
            "required": [
              "type"
            ]
          }
        }
      },
      "required": [
        "messageSegments"
      ]
    },
    "capabilities": {
      "type": "object",
      "properties": {
        "files": {
          "type": "object",
          "properties": {
            "items": {
              "type": "array",
              "description": "",
              "example": [],
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "example": "abc123"
                  }
                },
                "required": [
                  "id"
                ]
              }
            }
          },
          "required": [
            "items"
          ]
        }
      },
      "required": [
        "files"
      ]
    },
    "subjectId": {
      "type": "string",
      "example": "500123"
    },
    "feedElementType": {
      "type": "string",
      "example": "example_value"
    }
  },
  "required": [
    "body",
    "capabilities",
    "subjectId",
    "feedElementType"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "FeedElementsPostandSearchRequest"
}