POST api/ProductStock/AddProDaily
Request Information
URI Parameters
None.
Body Parameters
ProductDailyAddViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FCompID | integer |
None. |
|
| FCompName | string |
None. |
|
| FSectionID | integer |
None. |
|
| FSectionName | string |
None. |
|
| FBillNO | string |
None. |
|
| FSectionInID | integer |
None. |
|
| FRemark | string |
None. |
|
| FCreaterOptID | integer |
None. |
|
| FCreaterOptName | string |
None. |
|
| FCreaterDate | date |
None. |
|
| SupplemementDate | date |
None. |
|
| FDailyType | integer |
None. |
|
| DetailedList | Collection of ProductDailyDetailedAddViewModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"FCompID": 1,
"FCompName": "sample string 1",
"FSectionID": 1,
"FSectionName": "sample string 2",
"FBillNO": "sample string 3",
"FSectionInID": 1,
"FRemark": "sample string 4",
"FCreaterOptID": 1,
"FCreaterOptName": "sample string 5",
"FCreaterDate": "2025-12-06 13:39:56",
"SupplemementDate": "2025-12-06 13:39:56",
"FDailyType": 6,
"DetailedList": [
{
"FProNO": "sample string 1",
"FBottleType": 1,
"FInInventory": 1,
"FOutInventory": 1,
"FDailySettlementInventory": 1
},
{
"FProNO": "sample string 1",
"FBottleType": 1,
"FInInventory": 1,
"FOutInventory": 1,
"FDailySettlementInventory": 1
}
]
}
application/xml, text/xml
Sample:
<ProductDailyAddViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DY.Entity.ViewModel">
<DetailedList>
<ProductDailyDetailedAddViewModel>
<FBottleType>1</FBottleType>
<FDailySettlementInventory>1</FDailySettlementInventory>
<FInInventory>1</FInInventory>
<FOutInventory>1</FOutInventory>
<FProNO>sample string 1</FProNO>
</ProductDailyDetailedAddViewModel>
<ProductDailyDetailedAddViewModel>
<FBottleType>1</FBottleType>
<FDailySettlementInventory>1</FDailySettlementInventory>
<FInInventory>1</FInInventory>
<FOutInventory>1</FOutInventory>
<FProNO>sample string 1</FProNO>
</ProductDailyDetailedAddViewModel>
</DetailedList>
<FBillNO>sample string 3</FBillNO>
<FCompID>1</FCompID>
<FCompName>sample string 1</FCompName>
<FCreaterDate>2025-12-06T13:39:56.4347438+08:00</FCreaterDate>
<FCreaterOptID>1</FCreaterOptID>
<FCreaterOptName>sample string 5</FCreaterOptName>
<FDailyType>6</FDailyType>
<FRemark>sample string 4</FRemark>
<FSectionID>1</FSectionID>
<FSectionInID>1</FSectionInID>
<FSectionName>sample string 2</FSectionName>
<SupplemementDate>2025-12-06T13:39:56.4347438+08:00</SupplemementDate>
</ProductDailyAddViewModel>
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>