PUT api/bo/productattributes/attribute/color/update/{colorId}
สีรถ แก้ไขข้อมูล
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| colorId | integer |
Required |
Body Parameters
m_product_attribute_color| Name | Description | Type | Additional information |
|---|---|---|---|
| ColorName | string |
String length: inclusive between 0 and 100 |
|
| ColorCode | string |
String length: inclusive between 0 and 7 |
|
| IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ColorName": "sample string 1",
"ColorCode": "sample string 2",
"IsActive": true
}
application/xml, text/xml
Sample:
<m_product_attribute_color xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Project.Modules.Models.Backoffice"> <ColorCode>sample string 2</ColorCode> <ColorName>sample string 1</ColorName> <IsActive>true</IsActive> </m_product_attribute_color>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.