POST api/Brands

Request Information

URI Parameters

None.

Body Parameters

BrandDto
NameDescriptionTypeAdditional 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": "8d58818d-518c-427d-a403-4a9b3bb17451",
  "Name": "sample string 2",
  "Description": "sample string 3",
  "CreatedByUserId": "ce5f3673-0f28-4fbc-a898-8449acf4c68c",
  "TenantId": "f1a1cad0-47df-469a-ae5f-9815665706b2"
}

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>ce5f3673-0f28-4fbc-a898-8449acf4c68c</CreatedByUserId>
  <Description>sample string 3</Description>
  <Id>8d58818d-518c-427d-a403-4a9b3bb17451</Id>
  <Name>sample string 2</Name>
  <TenantId>f1a1cad0-47df-469a-ae5f-9815665706b2</TenantId>
</BrandDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.