input
The input array can contain a number of different file objects that are used for different purposes. If you create the Json manually, then the first attribute in a file object must be "type" and must have one of these values:
-
generateGenerates a new document.
-
pidRetrieves a document from Document Management for a given pid.
-
xqueryRetrieves the first document that is found from the given xquery.
-
listRetrieves a list of documents that are found from the given xquery.
-
templateRetrieves a document from Document Management given a document type and a template name.
Note: Template is a Document Management feature on how to specify a specific document and is not related to a Word layout.
-
assembleMerge documents into one document.
-
dataA raw document that is sent from the client, base64-encoded.
-
priorityA list of file objects that is iterated until one document is found.
Each file type is described in detail below.