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": "7cbc4abf-cddc-4b93-8ade-e668c92cec17",
  "Value": "sample string 2",
  "AttributeTypeId": "93d66095-3bb9-491d-9338-b20207c3f679",
  "AttributeType": {
    "Id": "51a2406d-da71-4d3b-ad4b-743214053013",
    "Name": "sample string 2",
    "DataType": 1,
    "TenantId": "d0f58f93-48a7-4eeb-9d5a-9a9695403432",
    "Options": [
      {
        "Id": "2ba80f01-0f73-4181-8c24-5ad02b9bf145",
        "Name": "sample string 2",
        "Value": "sample string 3",
        "CreationDate": "2026-01-10T01:06:23.741205+00:00",
        "AttributeTypeId": "32559804-4a4d-4bf8-9e70-98c75023a1c3"
      },
      {
        "Id": "2ba80f01-0f73-4181-8c24-5ad02b9bf145",
        "Name": "sample string 2",
        "Value": "sample string 3",
        "CreationDate": "2026-01-10T01:06:23.741205+00:00",
        "AttributeTypeId": "32559804-4a4d-4bf8-9e70-98c75023a1c3"
      }
    ],
    "EditorTypeId": "e45e84ed-a683-4c28-a148-81c036871504",
    "EditorType": {
      "Id": "be9c75f7-7236-4614-9c05-da48eacccba0",
      "Name": "sample string 2",
      "CreationDate": "2026-01-10T01:06:23.741205+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-10T01:06:23.741205+00:00</CreationDate>
      <DataType>Bool</DataType>
      <Id>be9c75f7-7236-4614-9c05-da48eacccba0</Id>
      <Name>sample string 2</Name>
    </EditorType>
    <EditorTypeId>e45e84ed-a683-4c28-a148-81c036871504</EditorTypeId>
    <Id>51a2406d-da71-4d3b-ad4b-743214053013</Id>
    <Name>sample string 2</Name>
    <Options>
      <AttributeTypeOptionDto>
        <AttributeTypeId>32559804-4a4d-4bf8-9e70-98c75023a1c3</AttributeTypeId>
        <CreationDate>2026-01-10T01:06:23.741205+00:00</CreationDate>
        <Id>2ba80f01-0f73-4181-8c24-5ad02b9bf145</Id>
        <Name>sample string 2</Name>
        <Value>sample string 3</Value>
      </AttributeTypeOptionDto>
      <AttributeTypeOptionDto>
        <AttributeTypeId>32559804-4a4d-4bf8-9e70-98c75023a1c3</AttributeTypeId>
        <CreationDate>2026-01-10T01:06:23.741205+00:00</CreationDate>
        <Id>2ba80f01-0f73-4181-8c24-5ad02b9bf145</Id>
        <Name>sample string 2</Name>
        <Value>sample string 3</Value>
      </AttributeTypeOptionDto>
    </Options>
    <TenantId>d0f58f93-48a7-4eeb-9d5a-9a9695403432</TenantId>
  </AttributeType>
  <AttributeTypeId>93d66095-3bb9-491d-9338-b20207c3f679</AttributeTypeId>
  <Id>7cbc4abf-cddc-4b93-8ade-e668c92cec17</Id>
  <Value>sample string 2</Value>
</AttributeDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.