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": "988d21e9-a44c-41f6-bd6a-601f9fd84973",
"Name": "sample string 2",
"CreationDate": "2025-12-10T03:44:53.1020587+00:00",
"Description": "sample string 4",
"ThumbnailUrl": "sample string 5",
"CreatedByUserId": "4d773004-be2e-4aea-bc82-dc615c0afaa0",
"ViewPermissionGroupId": "06b27edf-2726-4b32-9cc8-191eb14920ee",
"EditPermissionGroupId": "b5c573ad-8715-4a47-9861-e35c26e08926",
"DeletePermissionGroupId": "1b0e121e-fc68-45f2-8dfd-9093edc3c96e",
"CanEdit": true,
"CanDelete": true,
"TenantId": "5a861ffe-0253-4f21-bd4c-284a786d1539",
"ParentFolderId": "b17d00e2-e4b4-4b0e-8ecf-cefb1f500425",
"ContentTypeIds": [
"4a9e8b02-5610-47e1-8e98-039c41891af3",
"eadcad77-e847-443e-9efb-e95e25d52b0d"
],
"ContentTypes": [
{
"Id": "03045ee4-f22d-45c6-85dd-69259ed2dac1",
"CreationDateUtc": "2025-12-10T03:44:53.1020587+00:00",
"Name": "sample string 3",
"SupportedFileTypes": "sample string 4",
"ContentClassification": 0
},
{
"Id": "03045ee4-f22d-45c6-85dd-69259ed2dac1",
"CreationDateUtc": "2025-12-10T03:44:53.1020587+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>4a9e8b02-5610-47e1-8e98-039c41891af3</d2p1:guid>
<d2p1:guid>eadcad77-e847-443e-9efb-e95e25d52b0d</d2p1:guid>
</ContentTypeIds>
<ContentTypes>
<ContentTypeDto>
<ContentClassification>Any</ContentClassification>
<CreationDateUtc>2025-12-10T03:44:53.1020587+00:00</CreationDateUtc>
<Id>03045ee4-f22d-45c6-85dd-69259ed2dac1</Id>
<Name>sample string 3</Name>
<SupportedFileTypes>sample string 4</SupportedFileTypes>
</ContentTypeDto>
<ContentTypeDto>
<ContentClassification>Any</ContentClassification>
<CreationDateUtc>2025-12-10T03:44:53.1020587+00:00</CreationDateUtc>
<Id>03045ee4-f22d-45c6-85dd-69259ed2dac1</Id>
<Name>sample string 3</Name>
<SupportedFileTypes>sample string 4</SupportedFileTypes>
</ContentTypeDto>
</ContentTypes>
<CreatedByUserId>4d773004-be2e-4aea-bc82-dc615c0afaa0</CreatedByUserId>
<CreationDate>2025-12-10T03:44:53.1020587+00:00</CreationDate>
<DeletePermissionGroupId>1b0e121e-fc68-45f2-8dfd-9093edc3c96e</DeletePermissionGroupId>
<Description>sample string 4</Description>
<EditPermissionGroupId>b5c573ad-8715-4a47-9861-e35c26e08926</EditPermissionGroupId>
<EnableContentUpload>true</EnableContentUpload>
<Id>988d21e9-a44c-41f6-bd6a-601f9fd84973</Id>
<Name>sample string 2</Name>
<ParentFolderId>b17d00e2-e4b4-4b0e-8ecf-cefb1f500425</ParentFolderId>
<TenantId>5a861ffe-0253-4f21-bd4c-284a786d1539</TenantId>
<ThumbnailUrl>sample string 5</ThumbnailUrl>
<ViewPermissionGroupId>06b27edf-2726-4b32-9cc8-191eb14920ee</ViewPermissionGroupId>
</FolderDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.