Information Classification: External Restricted.
See https://www.chili-publish.com/security
Webservice Functions - ResourceItemReplaceFile
Replaces the underlying file of a Resource Item of type directory_file, and returns its definition XML.
Declaration
public string ResourceItemReplaceFile ( string apiKey, string resourceName, string itemID, string fileData );
Arguments
Name |
Type |
Description |
---|---|---|
apiKey |
The API key previously generated by calling the GenerateApiKey function |
|
resourceName |
The name of the Resource |
|
itemID |
The ID of the ResourceItem |
|
fileData |
The path (accessible from the CHILI server) to the file, or its base64 encoded data |
Returns
Definition XML of the ResourceItem
Security rights needed
- Edit
Apply on resource
Resource from function parameter resourceName
All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security