PUT api/bom/{bom_id}/pu/{bom_pu_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bom_id

integer

Required

bom_pu_id

integer

Required

Body Parameters

m_BOM_PU_Edit
NameDescriptionTypeAdditional information
moldins_id

integer

None.

chm_col_id

integer

None.

remark

string

None.

img

string

None.

Request Formats

application/json, text/json

Sample:
{
  "moldins_id": 1,
  "chm_col_id": 1,
  "remark": "sample string 1",
  "img": "sample string 2"
}

application/xml, text/xml

Sample:
<m_BOM_PU_Edit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.BOM">
  <chm_col_id>1</chm_col_id>
  <img>sample string 2</img>
  <moldins_id>1</moldins_id>
  <remark>sample string 1</remark>
</m_BOM_PU_Edit>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.