PUT api/Attributes/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

AttributeDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Value

string

String length: inclusive between 0 and 512

AttributeTypeId

globally unique identifier

None.

AttributeType

AttributeTypeDto

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "3abc33e2-bdb7-4668-8c51-6c139f4bc47c",
  "Value": "sample string 2",
  "AttributeTypeId": "9c4c6c80-9989-4ec7-9d43-6bc7327d5bc3",
  "AttributeType": {
    "Id": "54a7c310-26e4-4f02-bdf7-ca3b7bb69abc",
    "Name": "sample string 2",
    "DataType": 1,
    "TenantId": "6a95bc73-91e5-43ad-a358-53b6b2210317",
    "Options": [
      {
        "Id": "bd7e3cf8-0ef1-4a4e-9927-54b56174f987",
        "Name": "sample string 2",
        "Value": "sample string 3",
        "CreationDate": "2026-01-07T11:32:58.0394465+00:00",
        "AttributeTypeId": "01be644a-f044-4e33-be42-2115dbc9a2a8"
      },
      {
        "Id": "bd7e3cf8-0ef1-4a4e-9927-54b56174f987",
        "Name": "sample string 2",
        "Value": "sample string 3",
        "CreationDate": "2026-01-07T11:32:58.0394465+00:00",
        "AttributeTypeId": "01be644a-f044-4e33-be42-2115dbc9a2a8"
      }
    ],
    "EditorTypeId": "ec0d4587-f342-45db-b26d-28bf05b12f5d",
    "EditorType": {
      "Id": "5806c0f5-5309-4345-b3e2-7a8d8a692140",
      "Name": "sample string 2",
      "CreationDate": "2026-01-07T11:32:58.0394465+00:00",
      "DataType": 1
    }
  }
}

application/xml, text/xml

Sample:
<AttributeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Products.Models">
  <AttributeType>
    <DataType>Bool</DataType>
    <EditorType>
      <CreationDate>2026-01-07T11:32:58.0394465+00:00</CreationDate>
      <DataType>Bool</DataType>
      <Id>5806c0f5-5309-4345-b3e2-7a8d8a692140</Id>
      <Name>sample string 2</Name>
    </EditorType>
    <EditorTypeId>ec0d4587-f342-45db-b26d-28bf05b12f5d</EditorTypeId>
    <Id>54a7c310-26e4-4f02-bdf7-ca3b7bb69abc</Id>
    <Name>sample string 2</Name>
    <Options>
      <AttributeTypeOptionDto>
        <AttributeTypeId>01be644a-f044-4e33-be42-2115dbc9a2a8</AttributeTypeId>
        <CreationDate>2026-01-07T11:32:58.0394465+00:00</CreationDate>
        <Id>bd7e3cf8-0ef1-4a4e-9927-54b56174f987</Id>
        <Name>sample string 2</Name>
        <Value>sample string 3</Value>
      </AttributeTypeOptionDto>
      <AttributeTypeOptionDto>
        <AttributeTypeId>01be644a-f044-4e33-be42-2115dbc9a2a8</AttributeTypeId>
        <CreationDate>2026-01-07T11:32:58.0394465+00:00</CreationDate>
        <Id>bd7e3cf8-0ef1-4a4e-9927-54b56174f987</Id>
        <Name>sample string 2</Name>
        <Value>sample string 3</Value>
      </AttributeTypeOptionDto>
    </Options>
    <TenantId>6a95bc73-91e5-43ad-a358-53b6b2210317</TenantId>
  </AttributeType>
  <AttributeTypeId>9c4c6c80-9989-4ec7-9d43-6bc7327d5bc3</AttributeTypeId>
  <Id>3abc33e2-bdb7-4668-8c51-6c139f4bc47c</Id>
  <Value>sample string 2</Value>
</AttributeDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.