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

apiKey

The API key previously generated by calling the GenerateApiKey function

dataSourceID

itemID

The DataSource for which to return the sample files

fileName

fileName

The name of the new file

fileOrData

fileOrData

The path to the file to add, or its base64 encoded data

Returns

okOrException

An XML document with DocumentElement 'ok' (<ok/>), or an exception

Security rights needed

  • Edit

Apply on resource

DataSources

All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security