POST api/StoreLC/PostTransReceiveOrder
Request Information
URI Parameters
None.
Body Parameters
PostTransReceiveOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| receiveNo | string |
None. |
|
| type | string |
None. |
|
| receives | Collection of PostReceiveOrder |
None. |
Request Formats
application/json, text/json
Sample:
{
"receiveNo": "sample string 1",
"type": "sample string 2",
"receives": [
{
"orderModelPackingId": 1,
"orderId": 2,
"model_no": "sample string 3",
"locationOrderId": 4,
"op_id": 5,
"amount": 6,
"amount_A": 1,
"amount_B": 1,
"waste": 1,
"lost": 1
},
{
"orderModelPackingId": 1,
"orderId": 2,
"model_no": "sample string 3",
"locationOrderId": 4,
"op_id": 5,
"amount": 6,
"amount_A": 1,
"amount_B": 1,
"waste": 1,
"lost": 1
}
]
}
application/xml, text/xml
Sample:
<PostTransReceiveOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.StoreLC">
<receiveNo>sample string 1</receiveNo>
<receives>
<PostReceiveOrder>
<amount>6</amount>
<amount_A>1</amount_A>
<amount_B>1</amount_B>
<locationOrderId>4</locationOrderId>
<lost>1</lost>
<model_no>sample string 3</model_no>
<op_id>5</op_id>
<orderId>2</orderId>
<orderModelPackingId>1</orderModelPackingId>
<waste>1</waste>
</PostReceiveOrder>
<PostReceiveOrder>
<amount>6</amount>
<amount_A>1</amount_A>
<amount_B>1</amount_B>
<locationOrderId>4</locationOrderId>
<lost>1</lost>
<model_no>sample string 3</model_no>
<op_id>5</op_id>
<orderId>2</orderId>
<orderModelPackingId>1</orderModelPackingId>
<waste>1</waste>
</PostReceiveOrder>
</receives>
<type>sample string 2</type>
</PostTransReceiveOrder>
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.