FeedElementInput

Input for creating a feed element

CMSCommunitiesCRMCustomer PortalDigital ExperienceExperience CloudPartner Portal

Properties

Name Type Description
body object
feedElementType string Type of feed element to create
subjectId string ID of the parent record for the post
View JSON Schema on GitHub

JSON Schema

salesforce-experience-cloud-feedelementinput-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/FeedElementInput",
  "title": "FeedElementInput",
  "type": "object",
  "description": "Input for creating a feed element",
  "required": [
    "body",
    "feedElementType",
    "subjectId"
  ],
  "properties": {
    "body": {
      "$ref": "#/components/schemas/MessageBodyInput"
    },
    "feedElementType": {
      "type": "string",
      "description": "Type of feed element to create",
      "enum": [
        "FeedItem"
      ]
    },
    "subjectId": {
      "type": "string",
      "description": "ID of the parent record for the post"
    }
  }
}