POST api/bo/productattributes/saleinarea/districts/create?provinceId={provinceId}

อำเภอ สร้างข้อมูล

Request Information

URI Parameters

NameDescriptionTypeAdditional information
provinceId

integer

Required

Body Parameters

m_product_attributes_saleinarea_district_create
NameDescriptionTypeAdditional information
DistrictName

string

String length: inclusive between 0 and 100

Status

string

String length: inclusive between 0 and 3

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<m_product_attributes_saleinarea_district_create xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Project.Modules.Models.Backoffice">
  <DistrictName>sample string 1</DistrictName>
  <Status>sample string 2</Status>
</m_product_attributes_saleinarea_district_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_saleinarea_district_create'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.