Process Content Creation (By Data) (JSON)

Submits a request to create new HTML content for the Web context.

Request takes a JSON Record Data List of the data values for the Data Record as content, and on success returns a response containing the HTML output produced, specific to the record data specified.

Type: POST
URI: /rest/serverengine/workflow/contentcreation/html/{templateId}
Parameters:

Path:

  • templateId – the Managed File ID (or Name) of the design template in File Store

Query:

  • section – the section within the Web context to create (Defaults to default section in design template)
  • inline – the inline mode to be used in the creation of content (Possible values: NONE, CSS or ALL. Default Value: NONE)
Request:
Add. Headers: auth_token – Authorization Token (if server security settings enabled)
Content: JSON Record Data List specifying a list of data values for the Data Record
Content Type: application/json
Response:
Add. Headers:
Content: HTML output for the Data Record
Content Type: text/html
Status:
  • 200 OK – Output created successfully
  • 401 Unauthorized – Server authentication required
  • 403 Forbidden – Server authentication has failed or expired
  • 404 Not Found – Design template not found in File Store
  • 500 Internal Server Error – Content Creation Error: Web context in template not found