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": "b672b9eb-c5f5-4773-bc25-eca469ec765c",
"Name": "sample string 2",
"CreationDate": "2026-01-10T01:06:13.7451666+00:00",
"CreatedByUserId": "57a80095-4f30-4c71-914e-94a5e34b3a09"
}
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>57a80095-4f30-4c71-914e-94a5e34b3a09</CreatedByUserId> <CreationDate>2026-01-10T01:06:13.7451666+00:00</CreationDate> <Id>b672b9eb-c5f5-4773-bc25-eca469ec765c</Id> <Name>sample string 2</Name> </ProductTypeDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.