PUT api/bom/{bom_id}/component-sock/{bom_cpn_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bom_id

integer

Required

bom_cpn_id

integer

Required

Body Parameters

m_BOM_Component
NameDescriptionTypeAdditional information
part_type_id

integer

Required

mat_id

integer

Required

cutter_id

integer

None.

dieshot_id

integer

None.

blockscreen_id

integer

None.

remark

string

None.

Request Formats

application/json, text/json

Sample:
{
  "part_type_id": 1,
  "mat_id": 2,
  "cutter_id": 1,
  "dieshot_id": 1,
  "blockscreen_id": 1,
  "remark": "sample string 3"
}

application/xml, text/xml

Sample:
<m_BOM_Component xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.BOM">
  <blockscreen_id>1</blockscreen_id>
  <cutter_id>1</cutter_id>
  <dieshot_id>1</dieshot_id>
  <mat_id>2</mat_id>
  <part_type_id>1</part_type_id>
  <remark>sample string 3</remark>
</m_BOM_Component>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.