Process Content Creation (By Data Record)
Submits a request to create new HTML content for the Web context.
Request takes no content, and on success returns a response containing the HTML output produced, specific to the Data Record and section specified.
Type: |
GET
|
URI: |
/rest/serverengine/workflow/contentcreation/html/{templateId}/{dataRecordId: [0-9]+}
|
Parameters: |
Path:
- templateId – the Managed File ID (or Name) of the design template in File Store
- dataRecordId – the ID of the Data Record entity in Server
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: |
– |
Content Type: |
– |
|
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 or Data Record entity not found in File Store/Server
- 500 Internal Server Error – Content Creation Error: Data Record not found / Web context in template not found
|
|