PUT api/bo/productattributes/attribute/color/update/{colorId}

สีรถ แก้ไขข้อมูล

Request Information

URI Parameters

NameDescriptionTypeAdditional information
colorId

integer

Required

Body Parameters

m_product_attribute_color
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'm_product_attribute_color'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.