POST api/admin/ColorApi/UpdateProductDefaultColor
Request Information
URI Parameters
None.
Body Parameters
UpdateProductDefaultColorModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductID | integer |
Range: inclusive between 1 and 2147483647 |
|
| DefaultColorID | integer |
Range: inclusive between 1 and 2147483647 |
Request Formats
application/json, text/json
Sample:
{
"ProductID": 1,
"DefaultColorID": 2
}
application/xml, text/xml
Sample:
<UpdateProductDefaultColorModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAWModels.PostModel"> <DefaultColorID>2</DefaultColorID> <ProductID>1</ProductID> </UpdateProductDefaultColorModel>
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.