POST api/Brands
Request Information
URI Parameters
None.
Body Parameters
BrandDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 255 |
|
| Description | string |
String length: inclusive between 0 and 255 |
|
| CreatedByUserId | globally unique identifier |
None. |
|
| TenantId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "6fb6a189-28e8-4683-994b-0d3f441a830c",
"Name": "sample string 2",
"Description": "sample string 3",
"CreatedByUserId": "8b9c7c95-70c8-414f-bd29-86e3e9433126",
"TenantId": "37ea0af0-6bcd-4a14-a2f6-87f79ec9068f"
}
application/xml, text/xml
Sample:
<BrandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Products.Models"> <CreatedByUserId>8b9c7c95-70c8-414f-bd29-86e3e9433126</CreatedByUserId> <Description>sample string 3</Description> <Id>6fb6a189-28e8-4683-994b-0d3f441a830c</Id> <Name>sample string 2</Name> <TenantId>37ea0af0-6bcd-4a14-a2f6-87f79ec9068f</TenantId> </BrandDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.