Add a Template
Add a new Template to the CMS
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/template
- Authnone declared
Request body application/x-www-form-urlencoded
The layout name
The layout description
If a Template is not provided, provide the resolutionId for this Layout.
Should we return the Draft Layout or the Published Layout on Success?
Response
successful operation
The layoutId
The userId of the Layout Owner
The id of the Layout's dedicated Campaign
The parentId, if this Layout has a draft
The Status Id
The Published Status (Published, Draft or Pending Approval
The Published Date
The id of the image media set as the background
The XLF schema version
The name of the Layout
The description of the Layout
A HEX string representing the Layout background color
The datetime the Layout was created
The datetime the Layout was last modified
Flag indicating the Layout status. 1 = valid, 2 = valid with items only assessed by the Display, 3 = build required, 4 = invalid, 5 = built and valid, displays pending notification
Flag indicating whether the Layout is retired
The Layer that the background should occupy
The Layout Width
The Layout Height
The Layout Orientation
If this Layout has been requested by Campaign, then this is the display order of the Layout within the Campaign
A read-only estimate of this Layout's total duration in seconds. This is equal to the longest region duration and is valid when the layout status is 1, 2 or 5.
A status message detailing any errors with the layout
Flag indicating whether the Layout stat is enabled
Flag indicating whether the default transitions should be applied to this Layout
Code identifier for this Layout
Is this layout locked by another user?
The id of the Folder this Layout belongs to
The id of the Folder responsible for providing permissions for this Layout