Click or drag to resize
SystemService

[This is preliminary documentation and is subject to change.]

The SystemService web service contains web service methods operating on the TOPICA framework application level, i.e. above the level of specific configurations. This allows users to retrieve information on currently running configurations and to retrieve textfiles from those configurations.

System Service
System Service
GetConfigurationNames method

The GetConfigurationNames web method returns a list of names of the configurations currently running in a the TOPICA framework installation.

This web method is the natural starting point for working with the TOPICA web service API since almost all other web methods work at the configuration level and therefore as a minimum requires the name of the configuration it should work with.

C#
public List<string> GetConfigurationNames();
DeployReceive method

Receive a text file from the specified configuration.

C#
public string DeployReceive(string config, Guid sessionGuid, string folderRelativePath, string fileName, string fileContents, bool showDetails);
DeployReceiveBase64 method

Receive a binary file in Base64 encoding from the specified configuration.

C#
public string DeployReceiveBase64(string config, Guid sessionGuid, string folderRelativePath, string fileName, string fileContentsBase64, bool synchronize, bool showDetails);
Using SystemService web service

In the following example we retrieve a list of configurations

C#
// GetConfigurationNames method example


// Create the WebService object and get list of configurations.
SystemService systemService = new SystemService();
List<string> configurations = systemService.GetConfigurationNames();