Create Preview PDF (JSON)

Submits a request to create a preview PDF of the print output for a single data record.

Request takes JSON file data as content, and on success returns a response containing the Managed File ID for the newly created preview PDF file.

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

Path:

  • templateId – the Managed File ID (or Name) of the design template in File Store
Request:
Add. Headers: auth_token – Authorization Token (if server security settings enabled)
Content: Data File (File)
Content Type: application/json
Response:
Add. Headers: -
Content: Managed File ID
Content Type: text/plain
Status:
  • 200 OK – Creation of preview PDF in File Store successful
  • 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 – JSON data is not in the expected format/structure
 
   
  • Last Topic Update: Sep-13-2017 11:09
  • Last Published: 2017-10-20 : 9:28 AM