POST api/manage/chemical-color

Request Information

URI Parameters

None.

Body Parameters

md_chemicalColor_create
NameDescriptionTypeAdditional information
chm_col

string

Required

String length: inclusive between 0 and 50

chm_detail

string

Required

chm_dose

decimal number

None.

remark

string

None.

Request Formats

application/json, text/json

Sample:
{
  "chm_col": "sample string 1",
  "chm_detail": "sample string 2",
  "chm_dose": 3.0,
  "remark": "sample string 4"
}

application/xml, text/xml

Sample:
<md_chemicalColor_create xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Manage.chemical_color">
  <chm_col>sample string 1</chm_col>
  <chm_detail>sample string 2</chm_detail>
  <chm_dose>3</chm_dose>
  <remark>sample string 4</remark>
</md_chemicalColor_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 'md_chemicalColor_create'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.