POST api/bo/settingproductcategory
สร้างข้อมูล ตั้งค่าหมวดหมู่สินค้า
Request Information
URI Parameters
None.
Body Parameters
m_setting_product_category_create_request| Name | Description | Type | Additional information |
|---|---|---|---|
| HeadId | globally unique identifier |
None. |
|
| CategoryName | string |
Required String length: inclusive between 0 and 100 |
|
| CategoryName_En | string |
String length: inclusive between 0 and 100 |
Request Formats
application/json, text/json
Sample:
{
"HeadId": "86457ef4-47be-46a6-8ec6-11ed12688e15",
"CategoryName": "sample string 1",
"CategoryName_En": "sample string 2"
}
application/xml, text/xml
Sample:
<m_setting_product_category_create_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Project.Modules.Models.Backoffice"> <CategoryName>sample string 1</CategoryName> <CategoryName_En>sample string 2</CategoryName_En> <HeadId>86457ef4-47be-46a6-8ec6-11ed12688e15</HeadId> </m_setting_product_category_create_request>
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.