GET api/Village/{village}/Folders
Returns a list of document folders for the village
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
village | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of VillageDocumentFolderModelName | Description | Type | Additional information |
---|---|---|---|
IsDefault |
True if the folder is a default (system-defined) folder, false if it's a user-created folder |
boolean |
None. |
Created |
DateTime the folder was created |
date |
None. |
LinkCount |
# of Links in the folder |
integer |
None. |
FileCount |
# of Documents in the folder |
integer |
None. |
VillageId |
Village ID |
globally unique identifier |
None. |
Id |
Folder ID |
globally unique identifier |
None. |
Name |
Folder Name |
string |
None. |
Description |
Folder Description |
string |
None. |
ParentFolderId |
Parent Folder ID (if sub-folder) |
globally unique identifier |
None. |
FolderType |
What types of things can be added to this folder |
DocumentFolderType |
None. |
Sequence |
What order the folder should appear in, if not alphabetical (system folders are in specific order) |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "IsDefault": true, "Created": "2025-06-03T05:32:21.835+00:00", "LinkCount": 3, "FileCount": 4, "VillageId": "03a50dde-a8eb-41bd-9c7b-044d8198e7be", "Id": "2d853a6b-c770-4686-9d60-99e692a4eb00", "Name": "sample string 7", "Description": "sample string 8", "ParentFolderId": "b759619e-f4e4-4fbf-b21a-58bb2aca96d7", "FolderType": 1, "Sequence": 9 }, { "IsDefault": true, "Created": "2025-06-03T05:32:21.835+00:00", "LinkCount": 3, "FileCount": 4, "VillageId": "03a50dde-a8eb-41bd-9c7b-044d8198e7be", "Id": "2d853a6b-c770-4686-9d60-99e692a4eb00", "Name": "sample string 7", "Description": "sample string 8", "ParentFolderId": "b759619e-f4e4-4fbf-b21a-58bb2aca96d7", "FolderType": 1, "Sequence": 9 } ]
application/xml, text/xml
Sample:
<ArrayOfVillageDocumentFolderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Shared.Implementation.Models"> <VillageDocumentFolderModel> <Description>sample string 8</Description> <FolderType>Files</FolderType> <Name>sample string 7</Name> <ParentFolderId>b759619e-f4e4-4fbf-b21a-58bb2aca96d7</ParentFolderId> <Sequence>9</Sequence> <Id>2d853a6b-c770-4686-9d60-99e692a4eb00</Id> <Created>2025-06-03T05:32:21.8355137+00:00</Created> <FileCount>4</FileCount> <IsDefault>true</IsDefault> <LinkCount>3</LinkCount> <VillageId>03a50dde-a8eb-41bd-9c7b-044d8198e7be</VillageId> </VillageDocumentFolderModel> <VillageDocumentFolderModel> <Description>sample string 8</Description> <FolderType>Files</FolderType> <Name>sample string 7</Name> <ParentFolderId>b759619e-f4e4-4fbf-b21a-58bb2aca96d7</ParentFolderId> <Sequence>9</Sequence> <Id>2d853a6b-c770-4686-9d60-99e692a4eb00</Id> <Created>2025-06-03T05:32:21.8355137+00:00</Created> <FileCount>4</FileCount> <IsDefault>true</IsDefault> <LinkCount>3</LinkCount> <VillageId>03a50dde-a8eb-41bd-9c7b-044d8198e7be</VillageId> </VillageDocumentFolderModel> </ArrayOfVillageDocumentFolderModel>