GET api/Document/GetFolders

Gets all Folders for user.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of GetFoldersResult
NameDescriptionTypeAdditional information
Id

Folder Id

integer

None.

Name

The name

string

None.

Description

The description

string

None.

Folders

Sub folders

Collection of GetFoldersResult

None.

Count

Count documents in folder

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "Company data",
    "Description": "Everything else",
    "Folders": null,
    "Count": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfGetFoldersResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Results">
  <GetFoldersResult>
    <Count>1</Count>
    <Description>Everything else</Description>
    <Folders i:nil="true" />
    <Id>1</Id>
    <Name>Company data</Name>
  </GetFoldersResult>
</ArrayOfGetFoldersResult>