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": "e7f81c68-e331-4154-8268-2e04bafa6f14",
"DataFileId": "b9dc8aa1-56da-4e77-addc-cc683fa4ac62",
"CreationDateUtc": "2026-01-09T14:29:37.7515+00:00",
"ActionType": 0,
"ChangedByUserId": "845e4e57-1d7b-4a38-a55b-569c1e685b19",
"Description": "sample string 5"
},
{
"Id": "e7f81c68-e331-4154-8268-2e04bafa6f14",
"DataFileId": "b9dc8aa1-56da-4e77-addc-cc683fa4ac62",
"CreationDateUtc": "2026-01-09T14:29:37.7515+00:00",
"ActionType": 0,
"ChangedByUserId": "845e4e57-1d7b-4a38-a55b-569c1e685b19",
"Description": "sample string 5"
}
],
"Id": "bac35555-06da-4a18-8fec-d49094c43036",
"Name": "sample string 2",
"Path": "sample string 3",
"UserId": "e24e0c6c-383a-478f-ae9e-724e1aaeb1d7",
"IsInLibrary": true,
"CreationDate": "2026-01-09T14:29:37.7331701+00:00",
"SchemaId": "3bd90f86-5721-41e9-9e44-52d1667386da",
"FileData": "QEA=",
"OriginalRecordCount": 8,
"PostSuppressionRecordCount": 9,
"ByteCount": 10,
"TenantId": "4586302e-b6f9-4792-89d2-62c8cfc8df89",
"FolderId": "123257f0-80f6-431c-9f53-fb69084b53d9",
"ViewPermissionGroupId": "91716671-91d2-4ee5-b706-39bd631edb27",
"EditPermissionGroupId": "63ff6168-756c-47be-beef-95c17bff8479",
"DeletePermissionGroupId": "767e145a-ed92-4818-936a-04bb0b51b553",
"CanEdit": true,
"CanDelete": true,
"ExpiryDate": "2026-01-09T14:29:37.7487919+00:00",
"PublishDate": "2026-01-09T14:29:37.7487919+00:00",
"IsPurchaseData": true,
"DataSource": "sample string 14",
"MaxUseCount": 15,
"IsSelectable": true,
"DataListId": "46634624-ab3d-4dc8-a402-6358c2d30882",
"DataFileExtension": "sample string 17",
"ReasonForSuppression": "sample string 18",
"DataFileProperties": [
{
"Id": "34d31a91-37cd-44cb-b8d9-a997766a389b",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-09T14:29:37.7509026+00:00",
"DataFileId": "cdd8c38b-9d86-4173-88cf-344c03627c52"
},
{
"Id": "34d31a91-37cd-44cb-b8d9-a997766a389b",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-09T14:29:37.7509026+00:00",
"DataFileId": "cdd8c38b-9d86-4173-88cf-344c03627c52"
}
],
"Recipients": [
{
"Id": "b8ef73ad-6ac5-498a-907c-14cf3a7ed620",
"TenantId": "d74152ed-fb93-4dba-bbad-ba46a715c3e6",
"ExternalId": "sample string 3",
"CreationDate": "2026-01-09T14:29:37.7514675+00:00"
},
{
"Id": "b8ef73ad-6ac5-498a-907c-14cf3a7ed620",
"TenantId": "d74152ed-fb93-4dba-bbad-ba46a715c3e6",
"ExternalId": "sample string 3",
"CreationDate": "2026-01-09T14:29:37.7514675+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>845e4e57-1d7b-4a38-a55b-569c1e685b19</ChangedByUserId>
<CreationDateUtc>2026-01-09T14:29:37.7515+00:00</CreationDateUtc>
<DataFileId>b9dc8aa1-56da-4e77-addc-cc683fa4ac62</DataFileId>
<Description>sample string 5</Description>
<Id>e7f81c68-e331-4154-8268-2e04bafa6f14</Id>
</DataFileAuditLogDto>
<DataFileAuditLogDto>
<ActionType>Create</ActionType>
<ChangedByUserId>845e4e57-1d7b-4a38-a55b-569c1e685b19</ChangedByUserId>
<CreationDateUtc>2026-01-09T14:29:37.7515+00:00</CreationDateUtc>
<DataFileId>b9dc8aa1-56da-4e77-addc-cc683fa4ac62</DataFileId>
<Description>sample string 5</Description>
<Id>e7f81c68-e331-4154-8268-2e04bafa6f14</Id>
</DataFileAuditLogDto>
</AuditLogs>
<ByteCount>10</ByteCount>
<CanDelete>true</CanDelete>
<CanEdit>true</CanEdit>
<CreationDate>2026-01-09T14:29:37.7331701+00:00</CreationDate>
<DataFileExtension>sample string 17</DataFileExtension>
<DataFileProperties>
<DataFilePropertyDto>
<CreationDate>2026-01-09T14:29:37.7509026+00:00</CreationDate>
<DataFileId>cdd8c38b-9d86-4173-88cf-344c03627c52</DataFileId>
<Id>34d31a91-37cd-44cb-b8d9-a997766a389b</Id>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</DataFilePropertyDto>
<DataFilePropertyDto>
<CreationDate>2026-01-09T14:29:37.7509026+00:00</CreationDate>
<DataFileId>cdd8c38b-9d86-4173-88cf-344c03627c52</DataFileId>
<Id>34d31a91-37cd-44cb-b8d9-a997766a389b</Id>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</DataFilePropertyDto>
</DataFileProperties>
<DataListId>46634624-ab3d-4dc8-a402-6358c2d30882</DataListId>
<DataSource>sample string 14</DataSource>
<DeletePermissionGroupId>767e145a-ed92-4818-936a-04bb0b51b553</DeletePermissionGroupId>
<EditPermissionGroupId>63ff6168-756c-47be-beef-95c17bff8479</EditPermissionGroupId>
<ExpiryDate>2026-01-09T14:29:37.7487919+00:00</ExpiryDate>
<FileData>QEA=</FileData>
<FolderId>123257f0-80f6-431c-9f53-fb69084b53d9</FolderId>
<Id>bac35555-06da-4a18-8fec-d49094c43036</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-09T14:29:37.7487919+00:00</PublishDate>
<ReasonForSuppression>sample string 18</ReasonForSuppression>
<Recipients>
<RecipientDto>
<CreationDate>2026-01-09T14:29:37.7514675+00:00</CreationDate>
<ExternalId>sample string 3</ExternalId>
<Id>b8ef73ad-6ac5-498a-907c-14cf3a7ed620</Id>
<TenantId>d74152ed-fb93-4dba-bbad-ba46a715c3e6</TenantId>
</RecipientDto>
<RecipientDto>
<CreationDate>2026-01-09T14:29:37.7514675+00:00</CreationDate>
<ExternalId>sample string 3</ExternalId>
<Id>b8ef73ad-6ac5-498a-907c-14cf3a7ed620</Id>
<TenantId>d74152ed-fb93-4dba-bbad-ba46a715c3e6</TenantId>
</RecipientDto>
</Recipients>
<SchemaId>3bd90f86-5721-41e9-9e44-52d1667386da</SchemaId>
<TenantId>4586302e-b6f9-4792-89d2-62c8cfc8df89</TenantId>
<UserId>e24e0c6c-383a-478f-ae9e-724e1aaeb1d7</UserId>
<ViewPermissionGroupId>91716671-91d2-4ee5-b706-39bd631edb27</ViewPermissionGroupId>
</DataFileDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.