POST api/ProductTypes
Request Information
URI Parameters
None.
Body Parameters
ProductTypeDto| Name | Description | Type | Additional 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": "4fdc0c9a-460b-45fc-9712-cf14d8ab6648",
"Name": "sample string 2",
"CreationDate": "2026-01-07T11:31:30.8497318+00:00",
"CreatedByUserId": "2402dcbb-404d-4333-9faa-eb520e3235e4"
}
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>2402dcbb-404d-4333-9faa-eb520e3235e4</CreatedByUserId> <CreationDate>2026-01-07T11:31:30.8497318+00:00</CreationDate> <Id>4fdc0c9a-460b-45fc-9712-cf14d8ab6648</Id> <Name>sample string 2</Name> </ProductTypeDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.