PUT api/manage/shoes-color/{color_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
color_id

string

Required

Body Parameters

md_editShoeColor
NameDescriptionTypeAdditional information
color_name_en

string

String length: inclusive between 0 and 50

color_name_th

string

String length: inclusive between 0 and 50

color_type

string

String length: inclusive between 0 and 1

Request Formats

application/json, text/json

Sample:
{
  "color_name_en": "sample string 1",
  "color_name_th": "sample string 2",
  "color_type": "sample string 3"
}

application/xml, text/xml

Sample:
<md_editShoeColor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ShoeColor">
  <color_name_en>sample string 1</color_name_en>
  <color_name_th>sample string 2</color_name_th>
  <color_type>sample string 3</color_type>
</md_editShoeColor>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.