PUT api/bo/productattributes/brandandmodel/brandandmodels/update/{brandId}
ยี่ห้อและรุ่น แก้ไขข้อมูล
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| brandId | integer |
Required |
Body Parameters
m_product_attributes_brandandmodel_update| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryCarId | integer |
None. |
|
| BrandName | string |
String length: inclusive between 0 and 100 |
|
| Status | string |
String length: inclusive between 0 and 3 |
|
| Models | Collection of m_product_attributes_brandandmodel_model_update |
None. |
Request Formats
application/json, text/json
Sample:
{
"CategoryCarId": 1,
"BrandName": "sample string 1",
"Status": "sample string 2",
"Models": [
{
"ProductModelId": 1,
"ModelName": "sample string 1",
"Status": "sample string 2"
},
{
"ProductModelId": 1,
"ModelName": "sample string 1",
"Status": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<m_product_attributes_brandandmodel_update xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Project.Modules.Models.Backoffice">
<BrandName>sample string 1</BrandName>
<CategoryCarId>1</CategoryCarId>
<Models>
<m_product_attributes_brandandmodel_model_update>
<ModelName>sample string 1</ModelName>
<ProductModelId>1</ProductModelId>
<Status>sample string 2</Status>
</m_product_attributes_brandandmodel_model_update>
<m_product_attributes_brandandmodel_model_update>
<ModelName>sample string 1</ModelName>
<ProductModelId>1</ProductModelId>
<Status>sample string 2</Status>
</m_product_attributes_brandandmodel_model_update>
</Models>
<Status>sample string 2</Status>
</m_product_attributes_brandandmodel_update>
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.