POST api/Folders
Creates a new folder.
Request Information
URI Parameters
None.
Body Parameters
The folder model to create.
FolderDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 250 |
|
| CreationDate | date |
None. |
|
| Description | string |
None. |
|
| ThumbnailUrl | string |
None. |
|
| CreatedByUserId | globally unique identifier |
None. |
|
| ViewPermissionGroupId | globally unique identifier |
None. |
|
| EditPermissionGroupId | globally unique identifier |
None. |
|
| DeletePermissionGroupId | globally unique identifier |
None. |
|
| CanEdit | boolean |
None. |
|
| CanDelete | boolean |
None. |
|
| TenantId | globally unique identifier |
None. |
|
| ParentFolderId | globally unique identifier |
None. |
|
| ContentTypeIds | Collection of globally unique identifier |
None. |
|
| ContentTypes | Collection of ContentTypeDto |
None. |
|
| ContentTypeClassifications | Collection of ContentClassificationDto |
None. |
|
| EnableContentUpload | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "5b72ff9b-2f6d-4286-858d-eed1decab90a",
"Name": "sample string 2",
"CreationDate": "2026-01-09T01:21:26.319645+00:00",
"Description": "sample string 4",
"ThumbnailUrl": "sample string 5",
"CreatedByUserId": "6a0cc4ae-83d3-45c3-9055-086212b3409d",
"ViewPermissionGroupId": "d94d04da-1845-4af2-bf86-49e7380a2fd4",
"EditPermissionGroupId": "6480c176-7c9c-486b-a921-d560dff50f98",
"DeletePermissionGroupId": "9b95e507-412e-497e-b46d-58a47a5d5a99",
"CanEdit": true,
"CanDelete": true,
"TenantId": "def0e03d-f689-42bf-aef1-07674efe93c5",
"ParentFolderId": "4080b4eb-82ca-4793-85c6-0d6c93f99150",
"ContentTypeIds": [
"b79abe55-86cc-4b42-9634-203928c4a7f9",
"3179bf39-7d44-4117-a5d5-eb73478dfec6"
],
"ContentTypes": [
{
"Id": "450e6145-602b-4ab5-a0a9-6218af843bf0",
"CreationDateUtc": "2026-01-09T01:21:26.319645+00:00",
"Name": "sample string 3",
"SupportedFileTypes": "sample string 4",
"ContentClassification": 0
},
{
"Id": "450e6145-602b-4ab5-a0a9-6218af843bf0",
"CreationDateUtc": "2026-01-09T01:21:26.319645+00:00",
"Name": "sample string 3",
"SupportedFileTypes": "sample string 4",
"ContentClassification": 0
}
],
"ContentTypeClassifications": [
0,
0
],
"EnableContentUpload": true
}
application/xml, text/xml
Sample:
<FolderDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Content.Models">
<CanDelete>true</CanDelete>
<CanEdit>true</CanEdit>
<ContentTypeClassifications>
<ContentClassificationDto>Any</ContentClassificationDto>
<ContentClassificationDto>Any</ContentClassificationDto>
</ContentTypeClassifications>
<ContentTypeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>b79abe55-86cc-4b42-9634-203928c4a7f9</d2p1:guid>
<d2p1:guid>3179bf39-7d44-4117-a5d5-eb73478dfec6</d2p1:guid>
</ContentTypeIds>
<ContentTypes>
<ContentTypeDto>
<ContentClassification>Any</ContentClassification>
<CreationDateUtc>2026-01-09T01:21:26.319645+00:00</CreationDateUtc>
<Id>450e6145-602b-4ab5-a0a9-6218af843bf0</Id>
<Name>sample string 3</Name>
<SupportedFileTypes>sample string 4</SupportedFileTypes>
</ContentTypeDto>
<ContentTypeDto>
<ContentClassification>Any</ContentClassification>
<CreationDateUtc>2026-01-09T01:21:26.319645+00:00</CreationDateUtc>
<Id>450e6145-602b-4ab5-a0a9-6218af843bf0</Id>
<Name>sample string 3</Name>
<SupportedFileTypes>sample string 4</SupportedFileTypes>
</ContentTypeDto>
</ContentTypes>
<CreatedByUserId>6a0cc4ae-83d3-45c3-9055-086212b3409d</CreatedByUserId>
<CreationDate>2026-01-09T01:21:26.319645+00:00</CreationDate>
<DeletePermissionGroupId>9b95e507-412e-497e-b46d-58a47a5d5a99</DeletePermissionGroupId>
<Description>sample string 4</Description>
<EditPermissionGroupId>6480c176-7c9c-486b-a921-d560dff50f98</EditPermissionGroupId>
<EnableContentUpload>true</EnableContentUpload>
<Id>5b72ff9b-2f6d-4286-858d-eed1decab90a</Id>
<Name>sample string 2</Name>
<ParentFolderId>4080b4eb-82ca-4793-85c6-0d6c93f99150</ParentFolderId>
<TenantId>def0e03d-f689-42bf-aef1-07674efe93c5</TenantId>
<ThumbnailUrl>sample string 5</ThumbnailUrl>
<ViewPermissionGroupId>d94d04da-1845-4af2-bf86-49e7380a2fd4</ViewPermissionGroupId>
</FolderDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.