Information Classification: External Restricted.
See https://www.chili-publish.com/security
PUT - resources/documents/documentprocessor
Processes the document server-side.
Either an itemID or resourceXML need to be provided. If an itemID (document ID) is provided, the CLI reads the document from the CHILI DAM and saves it to the CHILI DAM.
If a resourceXML is provided, the provided XML is loaded by the CLI. The result is saved to the temp folder.
URI
resources/documents/documentprocessor |
HTTP Method
Put
Request parameters
Name |
Location |
Type |
Description |
---|---|---|---|
API-KEY |
http header |
The API key previously generated by calling the GenerateApiKey function |
|
itemID |
unknown |
string |
The ID of the document for which to create the PDF |
resourceXML |
unknown |
string |
The temporary document XML |
HTTP Return Status
Ok
Returns
This function is always run asynchronously. The taskXML contains a "result" attribute, which in its turn contains an XML string of the PDF generation result:
If the function is called providing a resourceXML, the task will contain a link to the output (located in the temp folder) once completed. In a similar manner as IDML output for example.
An XML string describing the created task, containing its ID and other information.
No access when API Key locked
false
All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security