POST api/bo/productattributes/brandandmodel/model/create?brandId={brandId}

รุ่น สร้างข้อมูล

Request Information

URI Parameters

NameDescriptionTypeAdditional information
brandId

integer

Required

Body Parameters

m_product_attributes_brandandmodel_model_create
NameDescriptionTypeAdditional information
ModelName

string

String length: inclusive between 0 and 100

Status

string

String length: inclusive between 0 and 3

Request Formats

application/json, text/json

Sample:
{
  "ModelName": "sample string 1",
  "Status": "sample string 2"
}

application/xml, text/xml

Sample:
<m_product_attributes_brandandmodel_model_create xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Project.Modules.Models.Backoffice">
  <ModelName>sample string 1</ModelName>
  <Status>sample string 2</Status>
</m_product_attributes_brandandmodel_model_create>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.