PUT api/bom/{bom_id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bom_id | integer |
Required |
Body Parameters
m_BOM_Edit| Name | Description | Type | Additional information |
|---|---|---|---|
| model_color | string |
None. |
|
| worktype_id | string |
None. |
|
| shoestype_id | string |
None. |
|
| sextype_id | string |
None. |
|
| box_id | integer |
None. |
|
| designer_app | string |
None. |
|
| grading | string |
None. |
|
| issued | string |
None. |
|
| pattern_created | string |
None. |
|
| production_app | string |
None. |
|
| size | Collection of m_BOM_Size |
None. |
|
| mold | Collection of m_BOM_Mold |
None. |
Request Formats
application/json, text/json
Sample:
{
"model_color": "sample string 1",
"worktype_id": "sample string 2",
"shoestype_id": "sample string 3",
"sextype_id": "sample string 4",
"box_id": 5,
"designer_app": "sample string 6",
"grading": "sample string 7",
"issued": "sample string 8",
"pattern_created": "sample string 9",
"production_app": "sample string 10",
"size": [
{
"size": 1,
"weight": 2.0,
"box_id": 3,
"width": 1.0,
"length": 1.0,
"height": 1.0,
"barcode": "sample string 4",
"remark": "sample string 5"
},
{
"size": 1,
"weight": 2.0,
"box_id": 3,
"width": 1.0,
"length": 1.0,
"height": 1.0,
"barcode": "sample string 4",
"remark": "sample string 5"
}
],
"mold": [
{
"mold_id": 1,
"last_no": "sample string 2",
"wood_no": "sample string 3"
},
{
"mold_id": 1,
"last_no": "sample string 2",
"wood_no": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<m_BOM_Edit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.BOM">
<box_id>5</box_id>
<designer_app>sample string 6</designer_app>
<grading>sample string 7</grading>
<issued>sample string 8</issued>
<model_color>sample string 1</model_color>
<mold>
<m_BOM_Mold>
<last_no>sample string 2</last_no>
<mold_id>1</mold_id>
<wood_no>sample string 3</wood_no>
</m_BOM_Mold>
<m_BOM_Mold>
<last_no>sample string 2</last_no>
<mold_id>1</mold_id>
<wood_no>sample string 3</wood_no>
</m_BOM_Mold>
</mold>
<pattern_created>sample string 9</pattern_created>
<production_app>sample string 10</production_app>
<sextype_id>sample string 4</sextype_id>
<shoestype_id>sample string 3</shoestype_id>
<size>
<m_BOM_Size>
<barcode>sample string 4</barcode>
<box_id>3</box_id>
<height>1</height>
<length>1</length>
<remark>sample string 5</remark>
<size>1</size>
<weight>2</weight>
<width>1</width>
</m_BOM_Size>
<m_BOM_Size>
<barcode>sample string 4</barcode>
<box_id>3</box_id>
<height>1</height>
<length>1</length>
<remark>sample string 5</remark>
<size>1</size>
<weight>2</weight>
<width>1</width>
</m_BOM_Size>
</size>
<worktype_id>sample string 2</worktype_id>
</m_BOM_Edit>
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.