Newer Version Available

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

CMS Contents Variant (Beta)

Get or update a managed content variant.

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/variants/variantId
Available version
54.0
Requires Chatter
No
HTTP methods
GET, PUT
Request body for PUT
Root XML tag
<managedContentVariantUpdateInputRepresentation>
JSON example
1{
2  "title": "My Updated Title",
3  "urlName": "my_updated_url_name",
4  "contentBody": {
5     "bannerImage":"MCZOCY2AM5PFBADN5UDRB53TLXR4",
6     "featuredEvent":"MCZOCY2AM5PFBADN5UDRB53TLXR4",
7     "excerpt":"this is my updated excerpt",
8     "body":"&lt;p&gt;Test updated body&lt;/p&gt;"
9     }
10}
Properties
Name Type Description Required or Optional Available Version
contentBody Map<String, Object> Body of the managed content variant. Optional 54.0
title String Title of the managed content variant. Optional 54.0
urlName String URL name of the managed content variant within the org. Optional 54.0
Response body for GET and PUT
Managed Content Variant