POST api/bom/{bom_id}/component-upper
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bom_id | integer |
Required |
Body Parameters
m_BOM_Component| Name | Description | Type | Additional 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:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.