POST api/manage/shoes-color
Request Information
URI Parameters
None.
Body Parameters
md_createShoeColor| Name | Description | Type | Additional information |
|---|---|---|---|
| color_id | string |
Required String length: inclusive between 0 and 2 |
|
| color_name_en | string |
Required String length: inclusive between 0 and 50 |
|
| color_name_th | string |
Required String length: inclusive between 0 and 50 |
|
| color_type | string |
Required String length: inclusive between 0 and 1 |
Request Formats
application/json, text/json
Sample:
{
"color_id": "sample string 1",
"color_name_en": "sample string 2",
"color_name_th": "sample string 3",
"color_type": "sample string 4"
}
application/xml, text/xml
Sample:
<md_createShoeColor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ShoeColor"> <color_id>sample string 1</color_id> <color_name_en>sample string 2</color_name_en> <color_name_th>sample string 3</color_name_th> <color_type>sample string 4</color_type> </md_createShoeColor>
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.