PUT api/AttributeTypes/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
AttributeTypeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
String length: inclusive between 0 and 255 |
|
| DataType | DataTypeDto |
None. |
|
| TenantId | globally unique identifier |
None. |
|
| Options | Collection of AttributeTypeOptionDto |
None. |
|
| EditorTypeId | globally unique identifier |
None. |
|
| EditorType | EditorTypeDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "0d348a12-d383-4d08-9cab-d19d918f1e00",
"Name": "sample string 2",
"DataType": 1,
"TenantId": "d2d11271-b9fd-4680-a36b-0ccd041e89a0",
"Options": [
{
"Id": "e19de2d0-13b5-4741-80de-38d9fe18e19c",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-07T11:31:47.7894416+00:00",
"AttributeTypeId": "8111666b-aa62-48b5-aafb-daae7095b10c"
},
{
"Id": "e19de2d0-13b5-4741-80de-38d9fe18e19c",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-07T11:31:47.7894416+00:00",
"AttributeTypeId": "8111666b-aa62-48b5-aafb-daae7095b10c"
}
],
"EditorTypeId": "24863eee-0421-4e82-be44-afcbdae768e7",
"EditorType": {
"Id": "ac2cf683-1e1a-4160-a7fd-cb6192438c03",
"Name": "sample string 2",
"CreationDate": "2026-01-07T11:31:47.7894416+00:00",
"DataType": 1
}
}
application/xml, text/xml
Sample:
<AttributeTypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Products.Models">
<DataType>Bool</DataType>
<EditorType>
<CreationDate>2026-01-07T11:31:47.7894416+00:00</CreationDate>
<DataType>Bool</DataType>
<Id>ac2cf683-1e1a-4160-a7fd-cb6192438c03</Id>
<Name>sample string 2</Name>
</EditorType>
<EditorTypeId>24863eee-0421-4e82-be44-afcbdae768e7</EditorTypeId>
<Id>0d348a12-d383-4d08-9cab-d19d918f1e00</Id>
<Name>sample string 2</Name>
<Options>
<AttributeTypeOptionDto>
<AttributeTypeId>8111666b-aa62-48b5-aafb-daae7095b10c</AttributeTypeId>
<CreationDate>2026-01-07T11:31:47.7894416+00:00</CreationDate>
<Id>e19de2d0-13b5-4741-80de-38d9fe18e19c</Id>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</AttributeTypeOptionDto>
<AttributeTypeOptionDto>
<AttributeTypeId>8111666b-aa62-48b5-aafb-daae7095b10c</AttributeTypeId>
<CreationDate>2026-01-07T11:31:47.7894416+00:00</CreationDate>
<Id>e19de2d0-13b5-4741-80de-38d9fe18e19c</Id>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</AttributeTypeOptionDto>
</Options>
<TenantId>d2d11271-b9fd-4680-a36b-0ccd041e89a0</TenantId>
</AttributeTypeDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.