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

apiKey

The API key previously generated by calling the GenerateApiKey function

dataSourceID

itemID

The DataSource for which the settings are used

fileDataOrPath

fileOrData

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

xmlString

A valid XML string

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