2022.2

Table Of Contents
Usage
To run the example you first need to use the Browse button to select an appropriate JSON
Data File to use as an input using the selection dialog box.
Next, you need to enter the Managed File ID or Name of your template (previously uploaded to
the file store) into the appropriate text field.
Once the inputs are selected/entered, select the Submit button to create the preview PDF.
When the response returns, a Managed File ID of the preview PDF (in the file store) will be
displayed in the Results area.
Further Reading
See the "Content Creation Service" on page527 page of the REST API Reference section for
further detail.
Creating a Preview Image By Data Record (Using JSON)
Problem
You want to create one or more preview images using a template and an existing Data Record
as inputs.
Solution
The solution is to create a request using the following URI and method type and submit it to the
server via the Content Creation REST service:
Create
Preview
Image (By
Data Record)
(JSON)
/rest/serverengine/workflow/contentcreation/imagepreview
POST
Example
HTML5
cc-preview-image-by-dre-json.html
Page 296