Sample Code

The ApiKit contains a sample project call APIDemo with fully functional code of a console application written in C# which communicates with the FileHold API. It authenticates a user using given login name and password and creates a session as explained in the previous chapter. Depending on the parameters it either performs search for a document and downloads it or creates a document schema, library structure and uploads a document with metadata.

Other examples are available in the ApiKit, see the contents of those projects for more information.

Sample code snippets

The following chapters explain the most important parts of the APIDemo code related to common operations such as searching, downloading and adding documents.