POST api/admin/ColorApi/AddNewProductColorNew

Request Information

URI Parameters

None.

Body Parameters

AddNewProductColor
NameDescriptionTypeAdditional information
ProductID

integer

None.

ColorName

string

None.

PrimaryImageName

string

None.

PrimaryBase64Content

string

None.

PrimaryExtension

string

None.

PrimaryHexText

string

None.

SecondaryImageName

string

None.

SecondaryBase64Content

string

None.

SecondaryExtension

string

None.

SecondaryHexText

string

None.

Status

string

None.

ColorType

string

None.

MinPerOrder

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductID": 1,
  "ColorName": "sample string 2",
  "PrimaryImageName": "sample string 3",
  "PrimaryBase64Content": "sample string 4",
  "PrimaryExtension": "sample string 5",
  "PrimaryHexText": "sample string 6",
  "SecondaryImageName": "sample string 7",
  "SecondaryBase64Content": "sample string 8",
  "SecondaryExtension": "sample string 9",
  "SecondaryHexText": "sample string 10",
  "Status": "sample string 11",
  "ColorType": "sample string 12",
  "MinPerOrder": 13
}

application/xml, text/xml

Sample:
<AddNewProductColor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAWModels.postModel.ProductColor">
  <ColorName>sample string 2</ColorName>
  <ColorType>sample string 12</ColorType>
  <MinPerOrder>13</MinPerOrder>
  <PrimaryBase64Content>sample string 4</PrimaryBase64Content>
  <PrimaryExtension>sample string 5</PrimaryExtension>
  <PrimaryHexText>sample string 6</PrimaryHexText>
  <PrimaryImageName>sample string 3</PrimaryImageName>
  <ProductID>1</ProductID>
  <SecondaryBase64Content>sample string 8</SecondaryBase64Content>
  <SecondaryExtension>sample string 9</SecondaryExtension>
  <SecondaryHexText>sample string 10</SecondaryHexText>
  <SecondaryImageName>sample string 7</SecondaryImageName>
  <Status>sample string 11</Status>
</AddNewProductColor>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.