Newer Version Available
CMS Contents (Beta)
- Resource
-
1/connect/cms/contents - Available version
- 54.0
- Requires Chatter
- No
- HTTP methods
- POST
- Request body for POST
-
- Root XML tag
- <ManagedContentInputRepresentation>
- JSON example
-
1{ 2"contentSpaceOrFolderId":"0Zuxx00000003M5CAI", 3"title":"Title of Document", 4"contentType":"ftestSfdcOnly__banner", 5"urlName":"testUrl", 6"contentBody" : { 7 "bannerImage":"MCZOCY2AM5PFBADN5UDRB53TLXR4", 8 "featuredEvent":"MCZOCY2AM5PFBADN5UDRB53TLXR4", 9 "excerpt":"this is test except", 10 "body":"<p>Test body</p>" 11 } 12} - Properties
-
Name Type Description Required or Optional Available Version contentBody Map<String, Object> Body of the managed content. Required 54.0 contentSpaceOrFolderId String Content space or folder ID where the content is created. Required 54.0 contentType String Fully qualified name of the content type to create. Required 54.0 title String Title of the managed content. Required 54.0 urlName String URL name of the managed content within the org. Optional 54.0
- Response body for POST
- Managed Content Document