Information Classification: External Restricted.
See https://www.chili-publish.com/security
Webservice Functions - DataSourceFileGetXML
Converts an uploaded file to generic XML using the settings of a DataSource
Declaration
public string DataSourceFileGetXML ( string apiKey, string dataSourceID, string fileDataOrPath, string fileExtension );
Arguments
Name | Type | Description |
|---|---|---|
apiKey | The API key previously generated by calling the GenerateApiKey function | |
dataSourceID | The DataSource for which the settings are used | |
fileDataOrPath | The file path (accessible from the CHILI Server) or the base64 encoded data of the file to be converted | |
fileExtension | string | The extension (csv, txt, ...) of the file to convert. If a file path is provided, this argument is optional |
Returns
A valid XML string