POST api/admin/ColorApi/UpdateProductColor
Request Information
URI Parameters
None.
Body Parameters
UpdateProductColorModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
Range: inclusive between 1 and 2147483647 |
|
| ProductID | integer |
Range: inclusive between 1 and 2147483647 |
|
| ColorName | string |
String length: inclusive between 0 and 50 |
|
| ColorHex | string |
None. |
|
| ColorSwatchTextColor | string |
None. |
|
| Status | string |
Min length: 1 String length: inclusive between 0 and 20 |
|
| ColorType | string |
Min length: 1 String length: inclusive between 0 and 50 |
|
| MinPerOrder | integer |
None. |
|
| PrimaryHexText | string |
None. |
|
| SecondaryHexText | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"ProductID": 2,
"ColorName": "sample string 3",
"ColorHex": "sample string 4",
"ColorSwatchTextColor": "sample string 5",
"Status": "sample string 6",
"ColorType": "sample string 7",
"MinPerOrder": 8,
"PrimaryHexText": "sample string 9",
"SecondaryHexText": "sample string 10"
}
application/xml, text/xml
Sample:
<UpdateProductColorModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAWModels.PostModel"> <ColorHex>sample string 4</ColorHex> <ColorName>sample string 3</ColorName> <ColorSwatchTextColor>sample string 5</ColorSwatchTextColor> <ColorType>sample string 7</ColorType> <ID>1</ID> <MinPerOrder>8</MinPerOrder> <PrimaryHexText>sample string 9</PrimaryHexText> <ProductID>2</ProductID> <SecondaryHexText>sample string 10</SecondaryHexText> <Status>sample string 6</Status> </UpdateProductColorModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.