2021.1

Table Of Contents
Solution
The solution is to make a series of requests using the following URIs and method types to
submit, monitor progress and ultimately retrieve the result of the All-In-One operation. These
requests can be submitted via the All-In-One REST service:
Process All-In-One
(Adhoc Data)
/rest/serverengine/workflow/print/{dmConfigId}/
{templateId}/{jcConfigId}/{ocConfigId}
POST
Get Progress of
Operation
/rest/serverengine/workflow/print/getProgress/
{operationId}
GET
Get Result of Operation
/rest/serverengine/workflow/print/getResult/
{operationId}
POST
Get Result of Operation
(as Text)
/rest/serverengine/workflow/print/getResultTxt/
{operationId}
POST
Cancel an Operation
/rest/serverengine/workflow/print/cancel/
{operationId}
POST
Example
HTML5
aio-process-adhoc-data.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Process All-In-One (Adhoc Data) Example</title>
<script src="../../common/lib/js/jquery-
3.4.1.min.js"></script>
<script src="../../common/js/common.js"></script>
<script src="js/aio-process-adhoc-data.js"></script>
<link rel="stylesheet" href="../../common/css/styles.css">
</head>
<body>
<h2>All-In-One Service - Process All-In-One (Adhoc Data)
Example</h2>
Page 420