GetDocuments

Fetches the document folder tree structure

This method retrieves the document folder tree structure that exists within your account.

SOAP action: http://apiconnector.com/v2/ApiService/GetDocuments

📘

Input and output parameters

The input and output parameters for this method are:

Input parameters

  • Folder ID - required; integer

Output parameters

  • GetDocumentsResult - array of Document
    • Document
      • Id - integer
      • Name - string
      • FileName - string
      • FileSize - integer
      • DateCreated - dateTime
      • DateModified - dateTime

Example

using (var client = new ApiServiceClient())
{
	client.ClientCredentials.UserName.UserName = "username";
	client.ClientCredentials.UserName.Password = "password";

	var folderId = 1;
	var documents = client.GetDocuments(folderId);
}