Information Classification: External Restricted.
See https://www.chili-publish.com/security

Webservice Functions - DataSourceDownloadURL

Returns the result of one of the external URLs for a DataSource

Declaration

public string DataSourceDownloadURL ( string apiKey, string dataSourceID, string urlType, string query, string forDocumentID, string editorQueryString );

Arguments

Name

Type

Description

apiKey

apiKey

The API key previously generated by calling the GenerateApiKey function

dataSourceID

itemID

ID of the DataSource ResourceItem

urlType

string

The type of url to download ('main' or 'query')

query

string

If urlType is 'main', the query will be replaced in the main URL (based on the pattern '%QUERY%')

forDocumentID

string

Document ID for which the download takes place (used to replace the %doc_id% pattern in the URL)

editorQueryString

string

The querystring for the Editor (used to replace variables in the external URL)

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