POST api/Brand

Creates a brand

Request Information

URI Parameters

None.

Body Parameters

Tools_BrandMatrix
NameDescriptionTypeAdditional information
ID

integer

None.

SiteID

integer

None.

BrandName

string

None.

BrandParentID

integer

None.

Note

string

None.

SortOrder

integer

None.

InLoyalty

boolean

None.

SalonCanCarry

boolean

None.

CanBeSold

boolean

None.

AskStylist

boolean

None.

AskConsumer

boolean

None.

StudioEvents

boolean

None.

BrandActive

boolean

None.

CountryCd

integer

None.

StoreBrandID

string

None.

StampContract

boolean

None.

BrandCodeCMS

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "SiteID": 2,
  "BrandName": "sample string 3",
  "BrandParentID": 4,
  "Note": "sample string 5",
  "SortOrder": 6,
  "InLoyalty": true,
  "SalonCanCarry": true,
  "CanBeSold": true,
  "AskStylist": true,
  "AskConsumer": true,
  "StudioEvents": true,
  "BrandActive": true,
  "CountryCd": 14,
  "StoreBrandID": "sample string 15",
  "StampContract": true,
  "BrandCodeCMS": "sample string 17"
}

application/xml, text/xml

Sample:
<Tools_BrandMatrix xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ElabDataAccess">
  <AskConsumer>true</AskConsumer>
  <AskStylist>true</AskStylist>
  <BrandActive>true</BrandActive>
  <BrandCodeCMS>sample string 17</BrandCodeCMS>
  <BrandName>sample string 3</BrandName>
  <BrandParentID>4</BrandParentID>
  <CanBeSold>true</CanBeSold>
  <CountryCd>14</CountryCd>
  <ID>1</ID>
  <InLoyalty>true</InLoyalty>
  <Note>sample string 5</Note>
  <SalonCanCarry>true</SalonCanCarry>
  <SiteID>2</SiteID>
  <SortOrder>6</SortOrder>
  <StampContract>true</StampContract>
  <StoreBrandID>sample string 15</StoreBrandID>
  <StudioEvents>true</StudioEvents>
</Tools_BrandMatrix>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Tools_BrandMatrix
NameDescriptionTypeAdditional information
ID

integer

None.

SiteID

integer

None.

BrandName

string

None.

BrandParentID

integer

None.

Note

string

None.

SortOrder

integer

None.

InLoyalty

boolean

None.

SalonCanCarry

boolean

None.

CanBeSold

boolean

None.

AskStylist

boolean

None.

AskConsumer

boolean

None.

StudioEvents

boolean

None.

BrandActive

boolean

None.

CountryCd

integer

None.

StoreBrandID

string

None.

StampContract

boolean

None.

BrandCodeCMS

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "SiteID": 2,
  "BrandName": "sample string 3",
  "BrandParentID": 4,
  "Note": "sample string 5",
  "SortOrder": 6,
  "InLoyalty": true,
  "SalonCanCarry": true,
  "CanBeSold": true,
  "AskStylist": true,
  "AskConsumer": true,
  "StudioEvents": true,
  "BrandActive": true,
  "CountryCd": 14,
  "StoreBrandID": "sample string 15",
  "StampContract": true,
  "BrandCodeCMS": "sample string 17"
}

application/xml, text/xml

Sample:
<Tools_BrandMatrix xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ElabDataAccess">
  <AskConsumer>true</AskConsumer>
  <AskStylist>true</AskStylist>
  <BrandActive>true</BrandActive>
  <BrandCodeCMS>sample string 17</BrandCodeCMS>
  <BrandName>sample string 3</BrandName>
  <BrandParentID>4</BrandParentID>
  <CanBeSold>true</CanBeSold>
  <CountryCd>14</CountryCd>
  <ID>1</ID>
  <InLoyalty>true</InLoyalty>
  <Note>sample string 5</Note>
  <SalonCanCarry>true</SalonCanCarry>
  <SiteID>2</SiteID>
  <SortOrder>6</SortOrder>
  <StampContract>true</StampContract>
  <StoreBrandID>sample string 15</StoreBrandID>
  <StudioEvents>true</StudioEvents>
</Tools_BrandMatrix>