Information Classification: External Restricted.
See https://www.chili-publish.com/security
Webservice Functions - DataSourceAddSampleFile
Adds a new sample file to a DataSource
Declaration
public string DataSourceAddSampleFile ( string apiKey, string dataSourceID, string fileName, string fileOrData );
Arguments
Name | Type | Description |
|---|---|---|
apiKey | The API key previously generated by calling the GenerateApiKey function | |
dataSourceID | The DataSource for which to return the sample files | |
fileName | The name of the new file | |
fileOrData | The path to the file to add, or its base64 encoded data |
Returns
An XML document with DocumentElement 'ok' (<ok/>), or an exception
Security rights needed
Edit
Apply on resource
DataSources