POST api/Order/AddLotNumberRecord
Request Information
URI Parameters
None.
Body Parameters
AddLotNumberRecordViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FCompID | integer |
None. |
|
| FCompName | string |
None. |
|
| FSectionId | integer |
None. |
|
| FSectionName | string |
None. |
|
| FCustNo | string |
None. |
|
| FQty | decimal number |
None. |
|
| FOptID | integer |
None. |
|
| FOptName | string |
None. |
|
| DetailsList | Collection of AddLotNumberRecordListViewModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"DetailsList": [
{
"FQty": 1.0,
"FBarCode": "sample string 1"
},
{
"FQty": 1.0,
"FBarCode": "sample string 1"
}
],
"FCompID": 1,
"FCompName": "sample string 1",
"FSectionId": 1,
"FSectionName": "sample string 2",
"FCustNo": "sample string 3",
"FQty": 1.0,
"FOptID": 1,
"FOptName": "sample string 4"
}
application/xml, text/xml
Sample:
<AddLotNumberRecordViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel">
<DetailsList>
<AddLotNumberRecordListViewModel>
<FBarCode>sample string 1</FBarCode>
<FQty>1</FQty>
</AddLotNumberRecordListViewModel>
<AddLotNumberRecordListViewModel>
<FBarCode>sample string 1</FBarCode>
<FQty>1</FQty>
</AddLotNumberRecordListViewModel>
</DetailsList>
<FCompID>1</FCompID>
<FCompName>sample string 1</FCompName>
<FCustNo>sample string 3</FCustNo>
<FOptID>1</FOptID>
<FOptName>sample string 4</FOptName>
<FQty>1</FQty>
<FSectionId>1</FSectionId>
<FSectionName>sample string 2</FSectionName>
</AddLotNumberRecordViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MessageModelOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Success | boolean |
None. |
|
| Msg | string |
None. |
|
| Response | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 200,
"Success": true,
"Msg": "sample string 3",
"Response": 4
}
application/xml, text/xml
Sample:
<MessageModelOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity"> <Msg>sample string 3</Msg> <Response>4</Response> <Status>200</Status> <Success>true</Success> </MessageModelOfint>