PUT api/bo/productattributes/attribute/update/{attributeId}
คุณลักษณะ แก้ไขข้อมูล
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| attributeId | integer |
Required |
Body Parameters
m_product_attribute| Name | Description | Type | Additional 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:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.