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": "56f7ea0f-13fa-4693-a1c0-07f85c54b883",
"Name": "sample string 2",
"CreationDate": "2026-01-07T11:33:15.0005809+00:00",
"Description": "sample string 4",
"ThumbnailUrl": "sample string 5",
"CreatedByUserId": "078334fa-a3f5-4957-8b4e-8bd1ff06d605",
"ViewPermissionGroupId": "d17f280f-840a-47c1-8642-9e9683d7bf5d",
"EditPermissionGroupId": "801d2f7d-88fe-4dbc-ade2-5920f8f7ec22",
"DeletePermissionGroupId": "68a57ed4-fd97-44d6-b09b-70696eb4c8d9",
"CanEdit": true,
"CanDelete": true,
"TenantId": "2ca3121a-7a72-4135-9301-4e5f358d9291",
"ParentFolderId": "19227f07-5646-44e8-9a33-d88c5cf3b8f9",
"ContentTypeIds": [
"c7d38dd2-c8c0-4af7-b89c-fbbdc012d1df",
"3b99c654-3bfa-43eb-9f9a-c7081d28d559"
],
"ContentTypes": [
{
"Id": "4a50da69-dbd8-4b5b-a17b-12c64fdecd7f",
"CreationDateUtc": "2026-01-07T11:33:15.0162399+00:00",
"Name": "sample string 3",
"SupportedFileTypes": "sample string 4",
"ContentClassification": 0
},
{
"Id": "4a50da69-dbd8-4b5b-a17b-12c64fdecd7f",
"CreationDateUtc": "2026-01-07T11:33:15.0162399+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>c7d38dd2-c8c0-4af7-b89c-fbbdc012d1df</d2p1:guid>
<d2p1:guid>3b99c654-3bfa-43eb-9f9a-c7081d28d559</d2p1:guid>
</ContentTypeIds>
<ContentTypes>
<ContentTypeDto>
<ContentClassification>Any</ContentClassification>
<CreationDateUtc>2026-01-07T11:33:15.0162399+00:00</CreationDateUtc>
<Id>4a50da69-dbd8-4b5b-a17b-12c64fdecd7f</Id>
<Name>sample string 3</Name>
<SupportedFileTypes>sample string 4</SupportedFileTypes>
</ContentTypeDto>
<ContentTypeDto>
<ContentClassification>Any</ContentClassification>
<CreationDateUtc>2026-01-07T11:33:15.0162399+00:00</CreationDateUtc>
<Id>4a50da69-dbd8-4b5b-a17b-12c64fdecd7f</Id>
<Name>sample string 3</Name>
<SupportedFileTypes>sample string 4</SupportedFileTypes>
</ContentTypeDto>
</ContentTypes>
<CreatedByUserId>078334fa-a3f5-4957-8b4e-8bd1ff06d605</CreatedByUserId>
<CreationDate>2026-01-07T11:33:15.0005809+00:00</CreationDate>
<DeletePermissionGroupId>68a57ed4-fd97-44d6-b09b-70696eb4c8d9</DeletePermissionGroupId>
<Description>sample string 4</Description>
<EditPermissionGroupId>801d2f7d-88fe-4dbc-ade2-5920f8f7ec22</EditPermissionGroupId>
<EnableContentUpload>true</EnableContentUpload>
<Id>56f7ea0f-13fa-4693-a1c0-07f85c54b883</Id>
<Name>sample string 2</Name>
<ParentFolderId>19227f07-5646-44e8-9a33-d88c5cf3b8f9</ParentFolderId>
<TenantId>2ca3121a-7a72-4135-9301-4e5f358d9291</TenantId>
<ThumbnailUrl>sample string 5</ThumbnailUrl>
<ViewPermissionGroupId>d17f280f-840a-47c1-8642-9e9683d7bf5d</ViewPermissionGroupId>
</FolderDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.