POST api/brands/AddBrand

Request Information

URI Parameters

None.

Body Parameters

BrandEntity
NameDescriptionTypeAdditional information
BrandId

integer

None.

BrandName

string

None.

Active

boolean

None.

CreatedTime

date

None.

UpdatedTime

date

None.

VendorId

integer

None.

CategoryId

integer

None.

CategoryName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BrandId": 1,
  "BrandName": "sample string 2",
  "Active": true,
  "CreatedTime": "2025-12-31T16:43:35.6570656+05:30",
  "UpdatedTime": "2025-12-31T16:43:35.6570656+05:30",
  "VendorId": 4,
  "CategoryId": 5,
  "CategoryName": "sample string 6"
}

application/xml, text/xml

Sample:
<BrandEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pos_crm_api_DAL.Entities">
  <Active>true</Active>
  <BrandId>1</BrandId>
  <BrandName>sample string 2</BrandName>
  <CategoryId>5</CategoryId>
  <CategoryName>sample string 6</CategoryName>
  <CreatedTime>2025-12-31T16:43:35.6570656+05:30</CreatedTime>
  <UpdatedTime>2025-12-31T16:43:35.6570656+05:30</UpdatedTime>
  <VendorId>4</VendorId>
</BrandEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.