createCmsContentMap
post
/ccadmin/v1/cmsContentMaps
Create CmsContentMap. Creates a CmsContentMap object.
Request
Supported Media Types
- application/json
Root Schema : createCmsContentMap_request
Type:
Show Source
object
-
channelId:
string
The channel ID.Example:
A12345678
-
cmsPageSlug:
string
The CMS url page slug.Example:
/cars/all_new_rush
-
contentId:
string
The content ID.Example:
cars-all-new-rush
-
contentType:
string
The content type.Example:
default
-
layoutId:
string
The layout ID.Example:
pl200002
-
sourceType:
string
The source type.Example:
ExampleContent
-
version:
integer(long integer)
The version of the content map.Example:
1
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : createCmsContentMap_response
Type:
Show Source
object
-
channelId(optional):
string
The channel ID.Example:
A12345678
-
cmsPageSlug(optional):
string
The CMS url page slug.Example:
/cars/all_new_rush
-
contentId(optional):
string
The content ID.Example:
cars-all-new-rush
-
contentType(optional):
string
The content type.Example:
default
-
layoutId(optional):
string
The layout ID.Example:
pl200002
-
sourceType(optional):
string
The source type.Example:
ExampleContent
-
version(optional):
integer(long integer)
The version of the content map.Example:
1
400 Response
When request is not input correctly or properties are missing. Specific missing properties will be highlighted.
Root Schema : errorModel400
Type:
Show Source
object
-
errorCode(optional):
string
The CMS error codeExample:
80205
-
message(optional):
string
The HTTP error messageExample:
Required properties are missing or invalid
-
status(optional):
string
The HTTP status codeExample:
400
Default Response
The default error response
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code