PUT api/manage/chemical/{chm_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
chm_id

integer

Required

Body Parameters

m_Chemical
NameDescriptionTypeAdditional information
chm_name

string

Required

chm_detail

string

None.

remark

string

None.

Request Formats

application/json, text/json

Sample:
{
  "chm_name": "sample string 1",
  "chm_detail": "sample string 2",
  "remark": "sample string 3"
}

application/xml, text/xml

Sample:
<m_Chemical xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Manage">
  <chm_detail>sample string 2</chm_detail>
  <chm_name>sample string 1</chm_name>
  <remark>sample string 3</remark>
</m_Chemical>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.