POST api/Stock/InProductStock
Request Information
URI Parameters
None.
Body Parameters
VendorLedgerRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| StockProductRequestMdoelList | Collection of StockProductRequestMdoel |
None. |
|
| TaxRequestModelList | Collection of OtherTaxRequestModel |
None. |
|
| TaxRequestModelList2 | Collection of MoistureRequestModel |
None. |
|
| ImgListModel | Collection of ImgListModel |
None. |
|
| TransactionId | integer |
None. |
|
| VendorId | string |
None. |
|
| BranchCode | string |
None. |
|
| CrAmount | decimal number |
None. |
|
| DrAmount | decimal number |
None. |
|
| ReferenceId | string |
None. |
|
| VoucherId | integer |
None. |
|
| Description | string |
None. |
|
| EntryDate | date |
None. |
|
| EntryUser | string |
None. |
|
| PaymentMode | string |
None. |
|
| BillNo | string |
None. |
|
| BankId | integer |
None. |
|
| TransactionNo | string |
None. |
|
| TransactionDate | string |
None. |
|
| Roundoff | decimal number |
None. |
|
| RefBillNo | string |
None. |
|
| TranspoterId | string |
None. |
|
| Truckno | string |
None. |
|
| TranspoterCompanyName | string |
None. |
|
| TotalWeight | decimal number |
None. |
|
| VehicleWeight | decimal number |
None. |
|
| NetWeight | decimal number |
None. |
|
| StockAreaId | integer |
None. |
|
| StockSubAreaId | integer |
None. |
|
| TrollyNo | string |
None. |
|
| LocationName | string |
None. |
|
| Latitude | string |
None. |
|
| Longitude | string |
None. |
|
| AvgMoisture | decimal number |
None. |
|
| ConsiderWeight | decimal number |
None. |
|
| TrandID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"StockProductRequestMdoelList": [
{
"transactionId": 1,
"BarCode": "sample string 2",
"UnitId": 1,
"BaleId": 3,
"BaleCount": 4,
"ItemCode": "sample string 5",
"ItemName": "sample string 6",
"PurchaseRate": 1.0,
"APurchaseRate": 1.0,
"CRQuantity": 1.0,
"FreeQty": 1.0,
"DRQuantity": 1.0,
"Discount": 1.0,
"TaxableAmount": 1.0,
"ATaxableAmount": 1.0,
"IGST": 1.0,
"SGST": 1.0,
"CGST": 1.0,
"OtherTax": 1.0,
"TotalPurchaseAmount": 1.0,
"VendorCode": "sample string 7",
"StockLocation": "sample string 8",
"BillNo": "sample string 9",
"Description": "sample string 10",
"BranchCode": "sample string 11",
"EmployeeCode": "sample string 12",
"EntryUserID": "sample string 13",
"SendByService": "sample string 14",
"ReferenceID": "sample string 15",
"Remark": "sample string 16",
"EntryDate": "2025-12-11T22:22:42.9830613+05:30",
"VoucherID": 1,
"ItemStatus": "sample string 17",
"TransactionDate": "2025-12-11T22:22:42.9830613+05:30",
"ExpiryDate": "sample string 18",
"BatchNumber": "sample string 19",
"SrNo": "sample string 20",
"MRP": 1.0,
"SalePrice": 1.0,
"IsChkIncludetaxInPurchaseRate": true,
"Percent_SGST": 22.0,
"Percent_CGST": 23.0,
"Percent_IGST": 24.0,
"Percent_discount": 25.0,
"weightLoss": 1.0
},
{
"transactionId": 1,
"BarCode": "sample string 2",
"UnitId": 1,
"BaleId": 3,
"BaleCount": 4,
"ItemCode": "sample string 5",
"ItemName": "sample string 6",
"PurchaseRate": 1.0,
"APurchaseRate": 1.0,
"CRQuantity": 1.0,
"FreeQty": 1.0,
"DRQuantity": 1.0,
"Discount": 1.0,
"TaxableAmount": 1.0,
"ATaxableAmount": 1.0,
"IGST": 1.0,
"SGST": 1.0,
"CGST": 1.0,
"OtherTax": 1.0,
"TotalPurchaseAmount": 1.0,
"VendorCode": "sample string 7",
"StockLocation": "sample string 8",
"BillNo": "sample string 9",
"Description": "sample string 10",
"BranchCode": "sample string 11",
"EmployeeCode": "sample string 12",
"EntryUserID": "sample string 13",
"SendByService": "sample string 14",
"ReferenceID": "sample string 15",
"Remark": "sample string 16",
"EntryDate": "2025-12-11T22:22:42.9830613+05:30",
"VoucherID": 1,
"ItemStatus": "sample string 17",
"TransactionDate": "2025-12-11T22:22:42.9830613+05:30",
"ExpiryDate": "sample string 18",
"BatchNumber": "sample string 19",
"SrNo": "sample string 20",
"MRP": 1.0,
"SalePrice": 1.0,
"IsChkIncludetaxInPurchaseRate": true,
"Percent_SGST": 22.0,
"Percent_CGST": 23.0,
"Percent_IGST": 24.0,
"Percent_discount": 25.0,
"weightLoss": 1.0
}
],
"TaxRequestModelList": [
{
"ID": 1,
"BillNo": "sample string 2",
"TaxId": 1,
"Percentage": 1.0,
"TaxAmount": 1.0,
"Type": "sample string 3"
},
{
"ID": 1,
"BillNo": "sample string 2",
"TaxId": 1,
"Percentage": 1.0,
"TaxAmount": 1.0,
"Type": "sample string 3"
}
],
"TaxRequestModelList2": [
{
"Num": 1,
"Sample": "sample string 2",
"Moisture": 1
},
{
"Num": 1,
"Sample": "sample string 2",
"Moisture": 1
}
],
"ImgListModel": [
{
"Num": 1,
"SampleImg": "sample string 2",
"Base64Str": "sample string 3"
},
{
"Num": 1,
"SampleImg": "sample string 2",
"Base64Str": "sample string 3"
}
],
"TransactionId": 1,
"VendorId": "sample string 2",
"BranchCode": "sample string 3",
"CrAmount": 4.0,
"DrAmount": 1.0,
"ReferenceId": "sample string 5",
"VoucherId": 1,
"Description": "sample string 6",
"EntryDate": "2025-12-11T22:22:42.9830613+05:30",
"EntryUser": "sample string 8",
"PaymentMode": "sample string 9",
"BillNo": "sample string 10",
"BankId": 1,
"TransactionNo": "sample string 11",
"TransactionDate": "sample string 12",
"Roundoff": 1.0,
"RefBillNo": "sample string 13",
"TranspoterId": "sample string 14",
"Truckno": "sample string 15",
"TranspoterCompanyName": "sample string 16",
"TotalWeight": 1.0,
"VehicleWeight": 1.0,
"NetWeight": 1.0,
"StockAreaId": 1,
"StockSubAreaId": 1,
"TrollyNo": "sample string 17",
"LocationName": "sample string 18",
"Latitude": "sample string 19",
"Longitude": "sample string 20",
"AvgMoisture": 1.0,
"ConsiderWeight": 1.0,
"TrandID": "sample string 21"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AddUpdateDeleteResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Message": "sample string 2",
"Data": {}
}