POST api/bom/{bom_id}/pu
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bom_id | integer |
Required |
Body Parameters
m_BOM_PU_Create| Name | Description | Type | Additional information |
|---|---|---|---|
| bom_mold_id | integer |
Required |
|
| moldins_id | integer |
None. |
|
| chm_col_id | integer |
None. |
|
| remark | string |
None. |
|
| img | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"bom_mold_id": 1,
"moldins_id": 1,
"chm_col_id": 1,
"remark": "sample string 2",
"img": "sample string 3"
}
application/xml, text/xml
Sample:
<m_BOM_PU_Create xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.BOM"> <bom_mold_id>1</bom_mold_id> <chm_col_id>1</chm_col_id> <img>sample string 3</img> <moldins_id>1</moldins_id> <remark>sample string 2</remark> </m_BOM_PU_Create>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.