PUT api/datafiles/{id}
Updates a DataFile entity.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the data file to update. |
globally unique identifier |
Required |
Body Parameters
The data file model to update with.
DataFileDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 80 |
|
| Path | string |
String length: inclusive between 0 and 512 |
|
| UserId | globally unique identifier |
None. |
|
| IsInLibrary | boolean |
None. |
|
| CreationDate | date |
None. |
|
| SchemaId | globally unique identifier |
Required |
|
| FileData | Collection of byte |
None. |
|
| OriginalRecordCount | integer |
None. |
|
| PostSuppressionRecordCount | integer |
None. |
|
| ByteCount | integer |
None. |
|
| TenantId | globally unique identifier |
None. |
|
| FolderId | 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. |
|
| ExpiryDate | date |
None. |
|
| PublishDate | date |
None. |
|
| IsPurchaseData | boolean |
None. |
|
| DataSource | string |
String length: inclusive between 0 and 512 |
|
| MaxUseCount | integer |
None. |
|
| IsSelectable | boolean |
None. |
|
| DataListId | globally unique identifier |
None. |
|
| DataFileExtension | string |
None. |
|
| ReasonForSuppression | string |
String length: inclusive between 0 and 512 |
|
| DataFileProperties | Collection of DataFilePropertyDto |
None. |
|
| Recipients | Collection of RecipientDto |
None. |
|
| AuditLogs | Collection of DataFileAuditLogDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"AuditLogs": [
{
"Id": "4712d2ae-de8d-4a21-898a-53651c8baf21",
"DataFileId": "6e8499b0-cb0c-4426-84ed-7b9716e99f7d",
"CreationDateUtc": "2026-01-10T12:29:25.6607694+00:00",
"ActionType": 0,
"ChangedByUserId": "62cd96c6-61f2-461d-8dbd-cf9b7bcc7015",
"Description": "sample string 5"
},
{
"Id": "4712d2ae-de8d-4a21-898a-53651c8baf21",
"DataFileId": "6e8499b0-cb0c-4426-84ed-7b9716e99f7d",
"CreationDateUtc": "2026-01-10T12:29:25.6607694+00:00",
"ActionType": 0,
"ChangedByUserId": "62cd96c6-61f2-461d-8dbd-cf9b7bcc7015",
"Description": "sample string 5"
}
],
"Id": "c2757003-9af1-4df6-94fa-aa9b8e1a9d0f",
"Name": "sample string 2",
"Path": "sample string 3",
"UserId": "0c5dbc6c-ce7f-448f-acf2-46aa66e6dbe4",
"IsInLibrary": true,
"CreationDate": "2026-01-10T12:29:25.6607694+00:00",
"SchemaId": "5548cb52-a948-425a-bf1d-321149219f75",
"FileData": "QEA=",
"OriginalRecordCount": 8,
"PostSuppressionRecordCount": 9,
"ByteCount": 10,
"TenantId": "b86fac9f-d0ab-4a8a-8391-7fc20d3fc77d",
"FolderId": "502a7f0a-a623-4f14-be35-d70d19bb37a4",
"ViewPermissionGroupId": "289fbb79-e695-40f1-b04e-dd9e0633ebd9",
"EditPermissionGroupId": "3b8a9350-8f1c-4dde-a5f2-9713188c6dac",
"DeletePermissionGroupId": "cf3aa948-4e30-4db0-b0b1-0dff1a7d25da",
"CanEdit": true,
"CanDelete": true,
"ExpiryDate": "2026-01-10T12:29:25.6607694+00:00",
"PublishDate": "2026-01-10T12:29:25.6607694+00:00",
"IsPurchaseData": true,
"DataSource": "sample string 14",
"MaxUseCount": 15,
"IsSelectable": true,
"DataListId": "fb96d46a-c571-4add-9114-7e7f900e9e2d",
"DataFileExtension": "sample string 17",
"ReasonForSuppression": "sample string 18",
"DataFileProperties": [
{
"Id": "f6a38473-6cb8-4f89-b26f-66ab37e2723b",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T12:29:25.6607694+00:00",
"DataFileId": "38de7eb0-e386-4f90-87a4-6db727985706"
},
{
"Id": "f6a38473-6cb8-4f89-b26f-66ab37e2723b",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T12:29:25.6607694+00:00",
"DataFileId": "38de7eb0-e386-4f90-87a4-6db727985706"
}
],
"Recipients": [
{
"Id": "3fa266ae-c415-4d49-b389-14c712bb0b46",
"TenantId": "b4945a57-cfe8-4acb-8a84-000c3074d80d",
"ExternalId": "sample string 3",
"CreationDate": "2026-01-10T12:29:25.6607694+00:00"
},
{
"Id": "3fa266ae-c415-4d49-b389-14c712bb0b46",
"TenantId": "b4945a57-cfe8-4acb-8a84-000c3074d80d",
"ExternalId": "sample string 3",
"CreationDate": "2026-01-10T12:29:25.6607694+00:00"
}
]
}
application/xml, text/xml
Sample:
<DataFileDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.DataManagement.Models">
<AuditLogs>
<DataFileAuditLogDto>
<ActionType>Create</ActionType>
<ChangedByUserId>62cd96c6-61f2-461d-8dbd-cf9b7bcc7015</ChangedByUserId>
<CreationDateUtc>2026-01-10T12:29:25.6607694+00:00</CreationDateUtc>
<DataFileId>6e8499b0-cb0c-4426-84ed-7b9716e99f7d</DataFileId>
<Description>sample string 5</Description>
<Id>4712d2ae-de8d-4a21-898a-53651c8baf21</Id>
</DataFileAuditLogDto>
<DataFileAuditLogDto>
<ActionType>Create</ActionType>
<ChangedByUserId>62cd96c6-61f2-461d-8dbd-cf9b7bcc7015</ChangedByUserId>
<CreationDateUtc>2026-01-10T12:29:25.6607694+00:00</CreationDateUtc>
<DataFileId>6e8499b0-cb0c-4426-84ed-7b9716e99f7d</DataFileId>
<Description>sample string 5</Description>
<Id>4712d2ae-de8d-4a21-898a-53651c8baf21</Id>
</DataFileAuditLogDto>
</AuditLogs>
<ByteCount>10</ByteCount>
<CanDelete>true</CanDelete>
<CanEdit>true</CanEdit>
<CreationDate>2026-01-10T12:29:25.6607694+00:00</CreationDate>
<DataFileExtension>sample string 17</DataFileExtension>
<DataFileProperties>
<DataFilePropertyDto>
<CreationDate>2026-01-10T12:29:25.6607694+00:00</CreationDate>
<DataFileId>38de7eb0-e386-4f90-87a4-6db727985706</DataFileId>
<Id>f6a38473-6cb8-4f89-b26f-66ab37e2723b</Id>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</DataFilePropertyDto>
<DataFilePropertyDto>
<CreationDate>2026-01-10T12:29:25.6607694+00:00</CreationDate>
<DataFileId>38de7eb0-e386-4f90-87a4-6db727985706</DataFileId>
<Id>f6a38473-6cb8-4f89-b26f-66ab37e2723b</Id>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</DataFilePropertyDto>
</DataFileProperties>
<DataListId>fb96d46a-c571-4add-9114-7e7f900e9e2d</DataListId>
<DataSource>sample string 14</DataSource>
<DeletePermissionGroupId>cf3aa948-4e30-4db0-b0b1-0dff1a7d25da</DeletePermissionGroupId>
<EditPermissionGroupId>3b8a9350-8f1c-4dde-a5f2-9713188c6dac</EditPermissionGroupId>
<ExpiryDate>2026-01-10T12:29:25.6607694+00:00</ExpiryDate>
<FileData>QEA=</FileData>
<FolderId>502a7f0a-a623-4f14-be35-d70d19bb37a4</FolderId>
<Id>c2757003-9af1-4df6-94fa-aa9b8e1a9d0f</Id>
<IsInLibrary>true</IsInLibrary>
<IsPurchaseData>true</IsPurchaseData>
<IsSelectable>true</IsSelectable>
<MaxUseCount>15</MaxUseCount>
<Name>sample string 2</Name>
<OriginalRecordCount>8</OriginalRecordCount>
<Path>sample string 3</Path>
<PostSuppressionRecordCount>9</PostSuppressionRecordCount>
<PublishDate>2026-01-10T12:29:25.6607694+00:00</PublishDate>
<ReasonForSuppression>sample string 18</ReasonForSuppression>
<Recipients>
<RecipientDto>
<CreationDate>2026-01-10T12:29:25.6607694+00:00</CreationDate>
<ExternalId>sample string 3</ExternalId>
<Id>3fa266ae-c415-4d49-b389-14c712bb0b46</Id>
<TenantId>b4945a57-cfe8-4acb-8a84-000c3074d80d</TenantId>
</RecipientDto>
<RecipientDto>
<CreationDate>2026-01-10T12:29:25.6607694+00:00</CreationDate>
<ExternalId>sample string 3</ExternalId>
<Id>3fa266ae-c415-4d49-b389-14c712bb0b46</Id>
<TenantId>b4945a57-cfe8-4acb-8a84-000c3074d80d</TenantId>
</RecipientDto>
</Recipients>
<SchemaId>5548cb52-a948-425a-bf1d-321149219f75</SchemaId>
<TenantId>b86fac9f-d0ab-4a8a-8391-7fc20d3fc77d</TenantId>
<UserId>0c5dbc6c-ce7f-448f-acf2-46aa66e6dbe4</UserId>
<ViewPermissionGroupId>289fbb79-e695-40f1-b04e-dd9e0633ebd9</ViewPermissionGroupId>
</DataFileDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.