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": "3fcb2b4c-0af3-429d-bc57-b7e5a0d84f49",
"Name": "sample string 2",
"DataType": 1,
"TenantId": "d20214d3-b2b2-459f-8cbf-a9df3da5f0b0",
"Options": [
{
"Id": "0da7a18d-25de-4857-ae92-725f26e9cefe",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T01:06:25.4145694+00:00",
"AttributeTypeId": "fe45826b-9a28-404c-9d43-6cc1c3f89730"
},
{
"Id": "0da7a18d-25de-4857-ae92-725f26e9cefe",
"Name": "sample string 2",
"Value": "sample string 3",
"CreationDate": "2026-01-10T01:06:25.4145694+00:00",
"AttributeTypeId": "fe45826b-9a28-404c-9d43-6cc1c3f89730"
}
],
"EditorTypeId": "f175e010-dbe8-4ec7-811f-11f13a1ae896",
"EditorType": {
"Id": "0ca6aaae-3cba-4067-a63e-fb84eb4843dd",
"Name": "sample string 2",
"CreationDate": "2026-01-10T01:06:25.4145694+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-10T01:06:25.4145694+00:00</CreationDate>
<DataType>Bool</DataType>
<Id>0ca6aaae-3cba-4067-a63e-fb84eb4843dd</Id>
<Name>sample string 2</Name>
</EditorType>
<EditorTypeId>f175e010-dbe8-4ec7-811f-11f13a1ae896</EditorTypeId>
<Id>3fcb2b4c-0af3-429d-bc57-b7e5a0d84f49</Id>
<Name>sample string 2</Name>
<Options>
<AttributeTypeOptionDto>
<AttributeTypeId>fe45826b-9a28-404c-9d43-6cc1c3f89730</AttributeTypeId>
<CreationDate>2026-01-10T01:06:25.4145694+00:00</CreationDate>
<Id>0da7a18d-25de-4857-ae92-725f26e9cefe</Id>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</AttributeTypeOptionDto>
<AttributeTypeOptionDto>
<AttributeTypeId>fe45826b-9a28-404c-9d43-6cc1c3f89730</AttributeTypeId>
<CreationDate>2026-01-10T01:06:25.4145694+00:00</CreationDate>
<Id>0da7a18d-25de-4857-ae92-725f26e9cefe</Id>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</AttributeTypeOptionDto>
</Options>
<TenantId>d20214d3-b2b2-459f-8cbf-a9df3da5f0b0</TenantId>
</AttributeTypeDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.