PUT api/schemas/{id}
Updates a schema entity.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the schema to update. |
globally unique identifier |
Required |
Body Parameters
The schema model to update with.
SchemaDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 50 |
|
| Description | string |
None. |
|
| TenantId | globally unique identifier |
Required |
|
| CreatorId | globally unique identifier |
Required |
|
| CreationDate | date |
Required |
|
| FileExtension | string |
Required String length: inclusive between 0 and 10 |
|
| ByteCount | integer |
None. |
|
| SampleFilePath | string |
String length: inclusive between 0 and 512 |
|
| SampleFileData | Collection of byte |
None. |
|
| DataValidationSchema | string |
None. |
|
| DataRetentionPeriod | integer |
Range: inclusive between 0 and 365 |
|
| IsDownloadable | boolean |
None. |
|
| MaxUseCount | integer |
None. |
|
| AllowSuppressions | boolean |
None. |
|
| DownloadableColumns | Collection of DownloadableColumnDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "b31f68fa-12ec-4864-83af-bca00e311a32",
"Name": "sample string 2",
"Description": "sample string 3",
"TenantId": "be9f2e2b-51e1-467f-9beb-758658fdb7f4",
"CreatorId": "cfd0e3ce-5c64-4a9f-add0-1205dceeb74f",
"CreationDate": "2026-01-10T12:31:23.3955391+00:00",
"FileExtension": "sample string 7",
"ByteCount": 8,
"SampleFilePath": "sample string 9",
"SampleFileData": "QEA=",
"DataValidationSchema": "sample string 10",
"DataRetentionPeriod": 11,
"IsDownloadable": true,
"MaxUseCount": 13,
"AllowSuppressions": true,
"DownloadableColumns": [
{
"Id": "90619775-f65a-4403-a146-589ff483d8aa",
"CreationDateUtc": "2026-01-10T12:31:23.3955391+00:00",
"SchemaId": "7cec8c76-face-487d-a319-6ca8343ba102",
"Name": "sample string 4"
},
{
"Id": "90619775-f65a-4403-a146-589ff483d8aa",
"CreationDateUtc": "2026-01-10T12:31:23.3955391+00:00",
"SchemaId": "7cec8c76-face-487d-a319-6ca8343ba102",
"Name": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<SchemaDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.DataManagement.Models">
<AllowSuppressions>true</AllowSuppressions>
<ByteCount>8</ByteCount>
<CreationDate>2026-01-10T12:31:23.3955391+00:00</CreationDate>
<CreatorId>cfd0e3ce-5c64-4a9f-add0-1205dceeb74f</CreatorId>
<DataRetentionPeriod>11</DataRetentionPeriod>
<DataValidationSchema>sample string 10</DataValidationSchema>
<Description>sample string 3</Description>
<DownloadableColumns>
<DownloadableColumnDto>
<CreationDateUtc>2026-01-10T12:31:23.3955391+00:00</CreationDateUtc>
<Id>90619775-f65a-4403-a146-589ff483d8aa</Id>
<Name>sample string 4</Name>
<SchemaId>7cec8c76-face-487d-a319-6ca8343ba102</SchemaId>
</DownloadableColumnDto>
<DownloadableColumnDto>
<CreationDateUtc>2026-01-10T12:31:23.3955391+00:00</CreationDateUtc>
<Id>90619775-f65a-4403-a146-589ff483d8aa</Id>
<Name>sample string 4</Name>
<SchemaId>7cec8c76-face-487d-a319-6ca8343ba102</SchemaId>
</DownloadableColumnDto>
</DownloadableColumns>
<FileExtension>sample string 7</FileExtension>
<Id>b31f68fa-12ec-4864-83af-bca00e311a32</Id>
<IsDownloadable>true</IsDownloadable>
<MaxUseCount>13</MaxUseCount>
<Name>sample string 2</Name>
<SampleFileData>QEA=</SampleFileData>
<SampleFilePath>sample string 9</SampleFilePath>
<TenantId>be9f2e2b-51e1-467f-9beb-758658fdb7f4</TenantId>
</SchemaDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.