PUT api/bo/productattributes/attribute/update/{attributeId}

คุณลักษณะ แก้ไขข้อมูล

Request Information

URI Parameters

NameDescriptionTypeAdditional information
attributeId

integer

Required

Body Parameters

m_product_attribute
NameDescriptionTypeAdditional information
AttributeName

string

String length: inclusive between 0 and 100

LengthValue

integer

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AttributeName": "sample string 1",
  "LengthValue": 2,
  "IsActive": true
}

application/xml, text/xml

Sample:
<m_product_attribute xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Project.Modules.Models.Backoffice">
  <AttributeName>sample string 1</AttributeName>
  <IsActive>true</IsActive>
  <LengthValue>2</LengthValue>
</m_product_attribute>

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'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.