Information Classification: External Restricted.
See https://www.chili-publish.com/security
Webservice Functions - DocumentCreateFromPDF
Creates a new document based on a PDF file
Declaration
public string DocumentCreateFromPDF ( string apiKey, string documentName, string folderPath, string pdfPathOrData, string backgroundAssetLocation );
Arguments
Name | Type | Description |
|---|---|---|
apiKey | The API key previously generated by calling the GenerateApiKey function | |
documentName | The name for the new document | |
folderPath | The path for the new document | |
pdfPathOrData | The path (accessible from the server) to the PDF file, or (if the path is not found) the base64 encoded data of said pdf file | |
backgroundAssetLocation | Location for the PDF pages used as backgrounds for the document |
Returns
Definition XML of the ResourceItem
Security rights needed
Add
Apply on resource
documents