POST api/Bottle/AddTBillOut
Request Information
URI Parameters
None.
Body Parameters
TBillInOutView| Name | Description | Type | Additional information |
|---|---|---|---|
| tBill | TBillInOut |
None. |
|
| tsJson | Collection of SpecViewModel |
None. |
|
| detailsList | Collection of TBillInOutDetailsView |
None. |
Request Formats
application/json, text/json
Sample:
{
"tBill": {
"FKey": 1,
"FCompID": 1,
"FCompName": "sample string 2",
"FBillNO": "sample string 3",
"FSectionOutID": 1,
"FSectionOutName": "sample string 4",
"FSectionOutType": 1,
"FSectionInID": 1,
"FSectionInName": "sample string 5",
"FSectionInType": 1,
"FBillOutDate": "2025-12-06 13:41:54",
"FQty": 1,
"FQty5": 1,
"FQty11": 1,
"FQty15": 1,
"FQty50": 1,
"FQtyScanCode": 1,
"FStatus": 1,
"FCheckOptID": 1,
"FCheckOptName": "sample string 6",
"FCheckDate": "2025-12-06 13:41:54",
"FCreateOptID": 1,
"FCreateOptName": "sample string 7",
"FCreateDate": "2025-12-06 13:41:54",
"FEditOptID": 1,
"FEditOptName": "sample string 8",
"FEditDate": "2025-12-06 13:41:54",
"FSubjectMatterNumber": 1,
"FContractDate": "2025-12-06 13:41:54",
"FRemark": "sample string 9",
"PurchaseDate": "2025-12-06 13:41:54",
"PurchaseID": 1,
"PurchaseName": "sample string 10",
"FactoryID": 1,
"FactoryName": "sample string 11",
"FPlateID": 1,
"FPlateNumber": "sample string 12",
"FDriverID": 1,
"FDriverName": "sample string 13",
"FBottleTypeID": 1,
"FBottleTypeName": "sample string 14",
"FSubjectMatterName": "sample string 15"
},
"tsJson": [
{
"specID": 1,
"specText": "sample string 1",
"specCount": 1,
"FFillGas": 1,
"FFillGasName": "sample string 2",
"FBottleType": 1,
"FBottleTypeName": "sample string 3",
"FGasOrLiquid": 1,
"FGasOrLiquidName": "sample string 4"
},
{
"specID": 1,
"specText": "sample string 1",
"specCount": 1,
"FFillGas": 1,
"FFillGasName": "sample string 2",
"FBottleType": 1,
"FBottleTypeName": "sample string 3",
"FGasOrLiquid": 1,
"FGasOrLiquidName": "sample string 4"
}
],
"detailsList": [
{
"FKey": 1,
"FSpecID": 1,
"FSpecName": "sample string 2",
"FGoodsNo": "sample string 3",
"FGoodsName": "sample string 4",
"FFillGasType": 1,
"FFillGasName": "sample string 5",
"FBarCode": "sample string 6",
"FExFactoryNumber": "sample string 7",
"FBottleType": 1,
"FBottleTypeName": "sample string 8",
"FOperationType": 1,
"FGasOrLiquid": "sample string 9",
"FGasOrLiquidID": 1,
"FCompID": 1,
"FCompName": "sample string 10",
"FSectionID": 1,
"FSectionName": "sample string 11",
"FSectionUserID": 1,
"FSectionUserName": "sample string 12",
"FCheckUnitID": 1,
"FCheckUnit": "sample string 13",
"FOwnNumber": "sample string 14",
"FRegisterNo": "sample string 15",
"FFactoryID": 1,
"FFactory": "sample string 16",
"FType": 1,
"FTypeName": "sample string 17",
"FCurPostType": 1,
"FCurPostTypeName": "sample string 18",
"FCurPostID": 1,
"FCurPostName": "sample string 19",
"FDateOfManufacture": "2025-12-06 13:41:54",
"FDateOfArrival": "2025-12-06 13:41:54",
"FDateOfCheckLast": "2025-12-06 13:41:54",
"FDateOfCheckNext": "2025-12-06 13:41:54",
"FDateOfRetirement": "2025-12-06 13:41:54",
"FBottleWeight": 1.0,
"FBottleWeightFill": 1.0,
"FImageList": "sample string 20",
"FRemark": "sample string 21",
"FCreateTime": "sample string 22",
"FCreateOpt": 1,
"FCreateOptName": "sample string 23",
"FEditTime": "sample string 24",
"FEditOpt": 1,
"FEditOptName": "sample string 25",
"FMaxFillWeight": 1.0,
"FModelNumber": "sample string 26",
"FVolume": 1.0,
"FThickness": 1.0,
"FThickness1": 1.0,
"FThickness2": 1.0,
"FThickness3": 1.0,
"FThickness4": 1.0,
"FThickness5": 1.0,
"FHydraulicPressure": 1.0,
"FPressure": 1.0
},
{
"FKey": 1,
"FSpecID": 1,
"FSpecName": "sample string 2",
"FGoodsNo": "sample string 3",
"FGoodsName": "sample string 4",
"FFillGasType": 1,
"FFillGasName": "sample string 5",
"FBarCode": "sample string 6",
"FExFactoryNumber": "sample string 7",
"FBottleType": 1,
"FBottleTypeName": "sample string 8",
"FOperationType": 1,
"FGasOrLiquid": "sample string 9",
"FGasOrLiquidID": 1,
"FCompID": 1,
"FCompName": "sample string 10",
"FSectionID": 1,
"FSectionName": "sample string 11",
"FSectionUserID": 1,
"FSectionUserName": "sample string 12",
"FCheckUnitID": 1,
"FCheckUnit": "sample string 13",
"FOwnNumber": "sample string 14",
"FRegisterNo": "sample string 15",
"FFactoryID": 1,
"FFactory": "sample string 16",
"FType": 1,
"FTypeName": "sample string 17",
"FCurPostType": 1,
"FCurPostTypeName": "sample string 18",
"FCurPostID": 1,
"FCurPostName": "sample string 19",
"FDateOfManufacture": "2025-12-06 13:41:54",
"FDateOfArrival": "2025-12-06 13:41:54",
"FDateOfCheckLast": "2025-12-06 13:41:54",
"FDateOfCheckNext": "2025-12-06 13:41:54",
"FDateOfRetirement": "2025-12-06 13:41:54",
"FBottleWeight": 1.0,
"FBottleWeightFill": 1.0,
"FImageList": "sample string 20",
"FRemark": "sample string 21",
"FCreateTime": "sample string 22",
"FCreateOpt": 1,
"FCreateOptName": "sample string 23",
"FEditTime": "sample string 24",
"FEditOpt": 1,
"FEditOptName": "sample string 25",
"FMaxFillWeight": 1.0,
"FModelNumber": "sample string 26",
"FVolume": 1.0,
"FThickness": 1.0,
"FThickness1": 1.0,
"FThickness2": 1.0,
"FThickness3": 1.0,
"FThickness4": 1.0,
"FThickness5": 1.0,
"FHydraulicPressure": 1.0,
"FPressure": 1.0
}
]
}
application/xml, text/xml
Sample:
<TBillInOutView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel">
<detailsList>
<TBillInOutDetailsView>
<FBarCode>sample string 6</FBarCode>
<FBottleType>1</FBottleType>
<FBottleTypeName>sample string 8</FBottleTypeName>
<FBottleWeight>1</FBottleWeight>
<FBottleWeightFill>1</FBottleWeightFill>
<FCheckUnit>sample string 13</FCheckUnit>
<FCheckUnitID>1</FCheckUnitID>
<FCompID>1</FCompID>
<FCompName>sample string 10</FCompName>
<FCreateOpt>1</FCreateOpt>
<FCreateOptName>sample string 23</FCreateOptName>
<FCreateTime>sample string 22</FCreateTime>
<FCurPostID>1</FCurPostID>
<FCurPostName>sample string 19</FCurPostName>
<FCurPostType>1</FCurPostType>
<FCurPostTypeName>sample string 18</FCurPostTypeName>
<FDateOfArrival>2025-12-06T13:41:54.7776109+08:00</FDateOfArrival>
<FDateOfCheckLast>2025-12-06T13:41:54.7776109+08:00</FDateOfCheckLast>
<FDateOfCheckNext>2025-12-06T13:41:54.7776109+08:00</FDateOfCheckNext>
<FDateOfManufacture>2025-12-06T13:41:54.7776109+08:00</FDateOfManufacture>
<FDateOfRetirement>2025-12-06T13:41:54.7776109+08:00</FDateOfRetirement>
<FEditOpt>1</FEditOpt>
<FEditOptName>sample string 25</FEditOptName>
<FEditTime>sample string 24</FEditTime>
<FExFactoryNumber>sample string 7</FExFactoryNumber>
<FFactory>sample string 16</FFactory>
<FFactoryID>1</FFactoryID>
<FFillGasName>sample string 5</FFillGasName>
<FFillGasType>1</FFillGasType>
<FGasOrLiquid>sample string 9</FGasOrLiquid>
<FGasOrLiquidID>1</FGasOrLiquidID>
<FGoodsName>sample string 4</FGoodsName>
<FGoodsNo>sample string 3</FGoodsNo>
<FHydraulicPressure>1</FHydraulicPressure>
<FImageList>sample string 20</FImageList>
<FKey>1</FKey>
<FMaxFillWeight>1</FMaxFillWeight>
<FModelNumber>sample string 26</FModelNumber>
<FOperationType>1</FOperationType>
<FOwnNumber>sample string 14</FOwnNumber>
<FPressure>1</FPressure>
<FRegisterNo>sample string 15</FRegisterNo>
<FRemark>sample string 21</FRemark>
<FSectionID>1</FSectionID>
<FSectionName>sample string 11</FSectionName>
<FSectionUserID>1</FSectionUserID>
<FSectionUserName>sample string 12</FSectionUserName>
<FSpecID>1</FSpecID>
<FSpecName>sample string 2</FSpecName>
<FThickness>1</FThickness>
<FThickness1>1</FThickness1>
<FThickness2>1</FThickness2>
<FThickness3>1</FThickness3>
<FThickness4>1</FThickness4>
<FThickness5>1</FThickness5>
<FType>1</FType>
<FTypeName>sample string 17</FTypeName>
<FVolume>1</FVolume>
</TBillInOutDetailsView>
<TBillInOutDetailsView>
<FBarCode>sample string 6</FBarCode>
<FBottleType>1</FBottleType>
<FBottleTypeName>sample string 8</FBottleTypeName>
<FBottleWeight>1</FBottleWeight>
<FBottleWeightFill>1</FBottleWeightFill>
<FCheckUnit>sample string 13</FCheckUnit>
<FCheckUnitID>1</FCheckUnitID>
<FCompID>1</FCompID>
<FCompName>sample string 10</FCompName>
<FCreateOpt>1</FCreateOpt>
<FCreateOptName>sample string 23</FCreateOptName>
<FCreateTime>sample string 22</FCreateTime>
<FCurPostID>1</FCurPostID>
<FCurPostName>sample string 19</FCurPostName>
<FCurPostType>1</FCurPostType>
<FCurPostTypeName>sample string 18</FCurPostTypeName>
<FDateOfArrival>2025-12-06T13:41:54.7776109+08:00</FDateOfArrival>
<FDateOfCheckLast>2025-12-06T13:41:54.7776109+08:00</FDateOfCheckLast>
<FDateOfCheckNext>2025-12-06T13:41:54.7776109+08:00</FDateOfCheckNext>
<FDateOfManufacture>2025-12-06T13:41:54.7776109+08:00</FDateOfManufacture>
<FDateOfRetirement>2025-12-06T13:41:54.7776109+08:00</FDateOfRetirement>
<FEditOpt>1</FEditOpt>
<FEditOptName>sample string 25</FEditOptName>
<FEditTime>sample string 24</FEditTime>
<FExFactoryNumber>sample string 7</FExFactoryNumber>
<FFactory>sample string 16</FFactory>
<FFactoryID>1</FFactoryID>
<FFillGasName>sample string 5</FFillGasName>
<FFillGasType>1</FFillGasType>
<FGasOrLiquid>sample string 9</FGasOrLiquid>
<FGasOrLiquidID>1</FGasOrLiquidID>
<FGoodsName>sample string 4</FGoodsName>
<FGoodsNo>sample string 3</FGoodsNo>
<FHydraulicPressure>1</FHydraulicPressure>
<FImageList>sample string 20</FImageList>
<FKey>1</FKey>
<FMaxFillWeight>1</FMaxFillWeight>
<FModelNumber>sample string 26</FModelNumber>
<FOperationType>1</FOperationType>
<FOwnNumber>sample string 14</FOwnNumber>
<FPressure>1</FPressure>
<FRegisterNo>sample string 15</FRegisterNo>
<FRemark>sample string 21</FRemark>
<FSectionID>1</FSectionID>
<FSectionName>sample string 11</FSectionName>
<FSectionUserID>1</FSectionUserID>
<FSectionUserName>sample string 12</FSectionUserName>
<FSpecID>1</FSpecID>
<FSpecName>sample string 2</FSpecName>
<FThickness>1</FThickness>
<FThickness1>1</FThickness1>
<FThickness2>1</FThickness2>
<FThickness3>1</FThickness3>
<FThickness4>1</FThickness4>
<FThickness5>1</FThickness5>
<FType>1</FType>
<FTypeName>sample string 17</FTypeName>
<FVolume>1</FVolume>
</TBillInOutDetailsView>
</detailsList>
<tBill xmlns:d2p1="http://schemas.datacontract.org/2004/07/DY.Entity.Model">
<d2p1:FBillNO>sample string 3</d2p1:FBillNO>
<d2p1:FBillOutDate>2025-12-06T13:41:54.7776109+08:00</d2p1:FBillOutDate>
<d2p1:FBottleTypeID>1</d2p1:FBottleTypeID>
<d2p1:FBottleTypeName>sample string 14</d2p1:FBottleTypeName>
<d2p1:FCheckDate>2025-12-06T13:41:54.7776109+08:00</d2p1:FCheckDate>
<d2p1:FCheckOptID>1</d2p1:FCheckOptID>
<d2p1:FCheckOptName>sample string 6</d2p1:FCheckOptName>
<d2p1:FCompID>1</d2p1:FCompID>
<d2p1:FCompName>sample string 2</d2p1:FCompName>
<d2p1:FContractDate>2025-12-06T13:41:54.7776109+08:00</d2p1:FContractDate>
<d2p1:FCreateDate>2025-12-06T13:41:54.7776109+08:00</d2p1:FCreateDate>
<d2p1:FCreateOptID>1</d2p1:FCreateOptID>
<d2p1:FCreateOptName>sample string 7</d2p1:FCreateOptName>
<d2p1:FDriverID>1</d2p1:FDriverID>
<d2p1:FDriverName>sample string 13</d2p1:FDriverName>
<d2p1:FEditDate>2025-12-06T13:41:54.7776109+08:00</d2p1:FEditDate>
<d2p1:FEditOptID>1</d2p1:FEditOptID>
<d2p1:FEditOptName>sample string 8</d2p1:FEditOptName>
<d2p1:FKey>1</d2p1:FKey>
<d2p1:FPlateID>1</d2p1:FPlateID>
<d2p1:FPlateNumber>sample string 12</d2p1:FPlateNumber>
<d2p1:FQty>1</d2p1:FQty>
<d2p1:FQty11>1</d2p1:FQty11>
<d2p1:FQty15>1</d2p1:FQty15>
<d2p1:FQty5>1</d2p1:FQty5>
<d2p1:FQty50>1</d2p1:FQty50>
<d2p1:FQtyScanCode>1</d2p1:FQtyScanCode>
<d2p1:FRemark>sample string 9</d2p1:FRemark>
<d2p1:FSectionInID>1</d2p1:FSectionInID>
<d2p1:FSectionInName>sample string 5</d2p1:FSectionInName>
<d2p1:FSectionInType>1</d2p1:FSectionInType>
<d2p1:FSectionOutID>1</d2p1:FSectionOutID>
<d2p1:FSectionOutName>sample string 4</d2p1:FSectionOutName>
<d2p1:FSectionOutType>1</d2p1:FSectionOutType>
<d2p1:FStatus>1</d2p1:FStatus>
<d2p1:FSubjectMatterName>sample string 15</d2p1:FSubjectMatterName>
<d2p1:FSubjectMatterNumber>1</d2p1:FSubjectMatterNumber>
<d2p1:FactoryID>1</d2p1:FactoryID>
<d2p1:FactoryName>sample string 11</d2p1:FactoryName>
<d2p1:PurchaseDate>2025-12-06T13:41:54.7776109+08:00</d2p1:PurchaseDate>
<d2p1:PurchaseID>1</d2p1:PurchaseID>
<d2p1:PurchaseName>sample string 10</d2p1:PurchaseName>
</tBill>
<tsJson>
<SpecViewModel>
<FBottleType>1</FBottleType>
<FBottleTypeName>sample string 3</FBottleTypeName>
<FFillGas>1</FFillGas>
<FFillGasName>sample string 2</FFillGasName>
<FGasOrLiquid>1</FGasOrLiquid>
<FGasOrLiquidName>sample string 4</FGasOrLiquidName>
<specCount>1</specCount>
<specID>1</specID>
<specText>sample string 1</specText>
</SpecViewModel>
<SpecViewModel>
<FBottleType>1</FBottleType>
<FBottleTypeName>sample string 3</FBottleTypeName>
<FFillGas>1</FFillGas>
<FFillGasName>sample string 2</FFillGasName>
<FGasOrLiquid>1</FGasOrLiquid>
<FGasOrLiquidName>sample string 4</FGasOrLiquidName>
<specCount>1</specCount>
<specID>1</specID>
<specText>sample string 1</specText>
</SpecViewModel>
</tsJson>
</TBillInOutView>
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>