Newer Version Available

This content describes an older version of this product. View Latest

CMS Contents (Beta)

Create managed content.

This feature is a Beta Service. Customer may opt to try such Beta Service in its sole discretion. Any use of the Beta Service is subject to the applicable Beta Services Terms provided at Agreements and Terms.

Note

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":"&lt;p&gt;Test body&lt;/p&gt;"
11   }
12}
Properties
Name Type Description Required or Optional Available Version
contentBody Map<String, Object> Body of the managed content. Required 54.0
contentSpace​OrFolderId 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