POST api/datalists
Creates a DataList entity and returns the new id.
Request Information
URI Parameters
None.
Body Parameters
The data list model to create with.
DataListDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 80 |
|
| CreationDate | date |
Required |
|
| CreatorUserId | globally unique identifier |
None. |
|
| DataRetentionPeriod | integer |
None. |
|
| AvailableStatusesIds | Collection of globally unique identifier |
None. |
|
| FlushOnUse | boolean |
None. |
|
| FolderId | globally unique identifier |
None. |
|
| SchemaId | 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. |
|
| Recipients | Collection of RecipientDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "ee55d55d-441b-4cb8-93b0-5d095275fa71",
"Name": "sample string 2",
"CreationDate": "2026-01-10T12:30:51.4875087+00:00",
"CreatorUserId": "f1392649-a9ee-469c-8d54-3ded806a26fa",
"DataRetentionPeriod": 5,
"AvailableStatusesIds": [
"2f663511-6c69-4ed1-bd09-53b1c641484e",
"748898ef-ccbe-45f2-9a21-875e3688e82d"
],
"FlushOnUse": true,
"FolderId": "1369e952-0eb0-4d32-a4f8-8a472708bc83",
"SchemaId": "07d601f9-722f-4078-b98f-c2c70783011a",
"ViewPermissionGroupId": "235cf181-1a95-43cc-9313-02d62a6ee5ed",
"EditPermissionGroupId": "9d2eb328-2355-49b7-bc45-ab0a5c123999",
"DeletePermissionGroupId": "8db34bc6-1079-4792-8454-47fc6e336e82",
"CanEdit": true,
"CanDelete": true,
"Recipients": [
{
"Id": "8437c94d-2c5c-4642-849d-4d84eb5e23bb",
"TenantId": "4cb331e8-7500-408b-b3e3-c5ff7e425581",
"ExternalId": "sample string 3",
"CreationDate": "2026-01-10T12:30:51.4875087+00:00"
},
{
"Id": "8437c94d-2c5c-4642-849d-4d84eb5e23bb",
"TenantId": "4cb331e8-7500-408b-b3e3-c5ff7e425581",
"ExternalId": "sample string 3",
"CreationDate": "2026-01-10T12:30:51.4875087+00:00"
}
]
}
application/xml, text/xml
Sample:
<DataListDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.DataManagement.Models">
<AvailableStatusesIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>2f663511-6c69-4ed1-bd09-53b1c641484e</d2p1:guid>
<d2p1:guid>748898ef-ccbe-45f2-9a21-875e3688e82d</d2p1:guid>
</AvailableStatusesIds>
<CanDelete>true</CanDelete>
<CanEdit>true</CanEdit>
<CreationDate>2026-01-10T12:30:51.4875087+00:00</CreationDate>
<CreatorUserId>f1392649-a9ee-469c-8d54-3ded806a26fa</CreatorUserId>
<DataRetentionPeriod>5</DataRetentionPeriod>
<DeletePermissionGroupId>8db34bc6-1079-4792-8454-47fc6e336e82</DeletePermissionGroupId>
<EditPermissionGroupId>9d2eb328-2355-49b7-bc45-ab0a5c123999</EditPermissionGroupId>
<FlushOnUse>true</FlushOnUse>
<FolderId>1369e952-0eb0-4d32-a4f8-8a472708bc83</FolderId>
<Id>ee55d55d-441b-4cb8-93b0-5d095275fa71</Id>
<Name>sample string 2</Name>
<Recipients>
<RecipientDto>
<CreationDate>2026-01-10T12:30:51.4875087+00:00</CreationDate>
<ExternalId>sample string 3</ExternalId>
<Id>8437c94d-2c5c-4642-849d-4d84eb5e23bb</Id>
<TenantId>4cb331e8-7500-408b-b3e3-c5ff7e425581</TenantId>
</RecipientDto>
<RecipientDto>
<CreationDate>2026-01-10T12:30:51.4875087+00:00</CreationDate>
<ExternalId>sample string 3</ExternalId>
<Id>8437c94d-2c5c-4642-849d-4d84eb5e23bb</Id>
<TenantId>4cb331e8-7500-408b-b3e3-c5ff7e425581</TenantId>
</RecipientDto>
</Recipients>
<SchemaId>07d601f9-722f-4078-b98f-c2c70783011a</SchemaId>
<ViewPermissionGroupId>235cf181-1a95-43cc-9313-02d62a6ee5ed</ViewPermissionGroupId>
</DataListDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.