/
Webservice Functions - DataSourceAddSampleFile
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
, multiple selections available,
Related content
Webservice Functions - DocumentSetDataSource
Webservice Functions - DocumentSetDataSource
More like this
DataSource
DataSource
Read with this
Webservice Functions - DataSourceListSampleFiles
Webservice Functions - DataSourceListSampleFiles
More like this
External DataSources XML
External DataSources XML
Read with this
Webservice Functions - DataSourceDeleteSampleFile
Webservice Functions - DataSourceDeleteSampleFile
More like this
DataSources
DataSources
Read with this
All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security