POST api/Bottle/SetCheckBeforeRecord
Request Information
URI Parameters
None.
Body Parameters
SetCheckBeforeRecordViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FCompID | integer |
None. |
|
| FCompName | string |
None. |
|
| FSectionId | integer |
None. |
|
| FSectionName | string |
None. |
|
| FOptID | integer |
None. |
|
| FOptName | string |
None. |
|
| ProList | Collection of SetCheckBeforeRecordProViewModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"FCompID": 1,
"FCompName": "sample string 1",
"FSectionId": 1,
"FSectionName": "sample string 2",
"FOptID": 1,
"FOptName": "sample string 3",
"ProList": [
{
"FBarCode": "sample string 1",
"FType": 1,
"FSpecID": 1,
"FGasOrLiquidID": 1
},
{
"FBarCode": "sample string 1",
"FType": 1,
"FSpecID": 1,
"FGasOrLiquidID": 1
}
]
}
application/xml, text/xml
Sample:
<SetCheckBeforeRecordViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel">
<FCompID>1</FCompID>
<FCompName>sample string 1</FCompName>
<FOptID>1</FOptID>
<FOptName>sample string 3</FOptName>
<FSectionId>1</FSectionId>
<FSectionName>sample string 2</FSectionName>
<ProList>
<SetCheckBeforeRecordProViewModel>
<FBarCode>sample string 1</FBarCode>
<FGasOrLiquidID>1</FGasOrLiquidID>
<FSpecID>1</FSpecID>
<FType>1</FType>
</SetCheckBeforeRecordProViewModel>
<SetCheckBeforeRecordProViewModel>
<FBarCode>sample string 1</FBarCode>
<FGasOrLiquidID>1</FGasOrLiquidID>
<FSpecID>1</FSpecID>
<FType>1</FType>
</SetCheckBeforeRecordProViewModel>
</ProList>
</SetCheckBeforeRecordViewModel>
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>