Information Classification: External Restricted.
See https://www.chili-publish.com/security
Webservice Functions - ResourceItemsAddFromZip
Adds ResourceItems to the specified Resource, based on a ZIP file
Declaration
public string ResourceItemsAddFromZip ( string apiKey, string resourceName, string folderPath, string fileData );
Arguments
Name | Type | Description |
|---|---|---|
apiKey | The API key previously generated by calling the GenerateApiKey function | |
resourceName | The name of the resource | |
folderPath | The relative path of the resource items in the resource's tree | |
fileData | The path to the file, or its base64 encoded data, for the ZIP file containing the new resource items |
Returns
An XML document with DocumentElement 'ok' (<ok/>), or an exception
Security rights needed
Add
Apply on resource
Resource from function parameter resourceName