POST api/Order/AddWaitOldBottleDetails
Request Information
URI Parameters
None.
Body Parameters
AddWaitOldBottleDetailsViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FBillNO | string |
None. |
|
| FBarCodeList | Collection of AddWaitOldBottleDetailsListViewModel |
None. |
|
| FOptID | integer |
None. |
|
| FOptName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"FBillNO": "sample string 1",
"FBarCodeList": [
{
"FKey": 1,
"FBarCode": "sample string 2",
"FBottleType": 1,
"FMadeYear": 1,
"FMadeMonth": 1,
"FImageList": "sample string 3"
},
{
"FKey": 1,
"FBarCode": "sample string 2",
"FBottleType": 1,
"FMadeYear": 1,
"FMadeMonth": 1,
"FImageList": "sample string 3"
}
],
"FOptID": 1,
"FOptName": "sample string 2"
}
application/xml, text/xml
Sample:
<AddWaitOldBottleDetailsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel">
<FBarCodeList>
<AddWaitOldBottleDetailsListViewModel>
<FBarCode>sample string 2</FBarCode>
<FBottleType>1</FBottleType>
<FImageList>sample string 3</FImageList>
<FKey>1</FKey>
<FMadeMonth>1</FMadeMonth>
<FMadeYear>1</FMadeYear>
</AddWaitOldBottleDetailsListViewModel>
<AddWaitOldBottleDetailsListViewModel>
<FBarCode>sample string 2</FBarCode>
<FBottleType>1</FBottleType>
<FImageList>sample string 3</FImageList>
<FKey>1</FKey>
<FMadeMonth>1</FMadeMonth>
<FMadeYear>1</FMadeYear>
</AddWaitOldBottleDetailsListViewModel>
</FBarCodeList>
<FBillNO>sample string 1</FBillNO>
<FOptID>1</FOptID>
<FOptName>sample string 2</FOptName>
</AddWaitOldBottleDetailsViewModel>
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>