PUT api/ProductTypes/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

ProductTypeDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

Required

CreationDate

date

None.

CreatedByUserId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "0f7d6da6-3556-4f38-ac0a-36a888dbf021",
  "Name": "sample string 2",
  "CreationDate": "2026-01-07T11:33:12.5935103+00:00",
  "CreatedByUserId": "28597e13-b8f4-4f4d-9439-5b7869c64272"
}

application/xml, text/xml

Sample:
<ProductTypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Products.Models">
  <CreatedByUserId>28597e13-b8f4-4f4d-9439-5b7869c64272</CreatedByUserId>
  <CreationDate>2026-01-07T11:33:12.5935103+00:00</CreationDate>
  <Id>0f7d6da6-3556-4f38-ac0a-36a888dbf021</Id>
  <Name>sample string 2</Name>
</ProductTypeDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.