Information Classification: External Restricted.
See https://www.chili-publish.com/security
Webservice Functions - DocumentCreatePackage
Generates a CHILI Package of the document.
Declaration
public string DocumentCreatePackage ( string apiKey, string itemID, int taskPriority );
Arguments
Name |
Type |
Description |
---|---|---|
apiKey |
The API key previously generated by calling the GenerateApiKey function |
|
itemID |
The ID of the document for which to create the Package |
|
taskPriority |
int |
The priority (1-10) of the task |
Returns
This function is always run asynchronously. The taskXML contains a "result" attribute, which in its turn contains an XML string of the Package generation result:
<result path="server_path" relativeURL="ZZZ" url="FULL_URL" />
relativeURL is provided from the root of the CHILI website.
The 'path' attribute contains the file path (on the server) to the zip file where the package has been created.
An XML string describing the created task, containing its ID and other information.
All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security