POST api/Stock/ProductConversion
Request Information
URI Parameters
None.
Body Parameters
ProductUnitConversionRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| transactionId | integer |
None. |
|
| BarCode | string |
None. |
|
| ItemCode | string |
None. |
|
| ItemName | string |
None. |
|
| PurchaseRate | decimal number |
None. |
|
| CRQuantity | decimal number |
None. |
|
| FreeQty | decimal number |
None. |
|
| DRQuantity | decimal number |
None. |
|
| Discount | decimal number |
None. |
|
| TaxableAmount | decimal number |
None. |
|
| IGST | decimal number |
None. |
|
| SGST | decimal number |
None. |
|
| CGST | decimal number |
None. |
|
| OtherTax | decimal number |
None. |
|
| TotalPurchaseAmount | decimal number |
None. |
|
| VendorCode | string |
None. |
|
| StockLocation | string |
None. |
|
| BillNo | string |
None. |
|
| Description | string |
None. |
|
| BranchCode | string |
None. |
|
| EmployeeCode | string |
None. |
|
| EntryUserID | string |
None. |
|
| SendByService | string |
None. |
|
| ReferenceID | string |
None. |
|
| Remark | string |
None. |
|
| EntryDate | date |
None. |
|
| VoucherID | integer |
None. |
|
| ItemStatus | string |
None. |
|
| TransactionDate | date |
None. |
|
| ExpiryDate | string |
None. |
|
| BatchNumber | string |
None. |
|
| SrNo | string |
None. |
|
| MRP | decimal number |
None. |
|
| SalePrice | decimal number |
None. |
|
| IsChkIncludetaxInPurchaseRate | boolean |
None. |
|
| Percent_SGST | decimal number |
None. |
|
| Percent_CGST | decimal number |
None. |
|
| Percent_IGST | decimal number |
None. |
|
| Percent_discount | decimal number |
None. |
|
| transactionIdTo | integer |
None. |
|
| BarCodeTo | string |
None. |
|
| ItemCodeTo | string |
None. |
|
| ItemNameTo | string |
None. |
|
| PurchaseRateTo | decimal number |
None. |
|
| CRQuantityTo | decimal number |
None. |
|
| FreeQtyTo | decimal number |
None. |
|
| DRQuantityTo | decimal number |
None. |
|
| DiscountTo | decimal number |
None. |
|
| TaxableAmountTo | decimal number |
None. |
|
| IGSTTo | decimal number |
None. |
|
| SGSTTo | decimal number |
None. |
|
| CGSTTo | decimal number |
None. |
|
| OtherTaxTo | decimal number |
None. |
|
| TotalPurchaseAmountTo | decimal number |
None. |
|
| VendorCodeTo | string |
None. |
|
| StockLocationTo | string |
None. |
|
| BillNoTo | string |
None. |
|
| DescriptionTo | string |
None. |
|
| BranchCodeTo | string |
None. |
|
| EmployeeCodeTo | string |
None. |
|
| EntryUserIDTo | string |
None. |
|
| SendByServiceTo | string |
None. |
|
| ReferenceIDTo | string |
None. |
|
| RemarkTo | string |
None. |
|
| EntryDateTo | date |
None. |
|
| VoucherIDTo | integer |
None. |
|
| ItemStatusTo | string |
None. |
|
| TransactionDateTo | date |
None. |
|
| ExpiryDateTo | string |
None. |
|
| BatchNumberTo | string |
None. |
|
| SrNoTo | string |
None. |
|
| MRPTo | decimal number |
None. |
|
| SalePriceTo | decimal number |
None. |
|
| IsChkIncludetaxInPurchaseRateTo | boolean |
None. |
|
| Percent_SGSTTo | decimal number |
None. |
|
| Percent_CGSTTo | decimal number |
None. |
|
| Percent_IGSTTo | decimal number |
None. |
|
| Percent_discountTo | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"transactionId": 1,
"BarCode": "sample string 2",
"ItemCode": "sample string 3",
"ItemName": "sample string 4",
"PurchaseRate": 1.0,
"CRQuantity": 1.0,
"FreeQty": 1.0,
"DRQuantity": 1.0,
"Discount": 1.0,
"TaxableAmount": 1.0,
"IGST": 1.0,
"SGST": 1.0,
"CGST": 1.0,
"OtherTax": 1.0,
"TotalPurchaseAmount": 1.0,
"VendorCode": "sample string 5",
"StockLocation": "sample string 6",
"BillNo": "sample string 7",
"Description": "sample string 8",
"BranchCode": "sample string 9",
"EmployeeCode": "sample string 10",
"EntryUserID": "sample string 11",
"SendByService": "sample string 12",
"ReferenceID": "sample string 13",
"Remark": "sample string 14",
"EntryDate": "2025-10-26T20:50:35.4642894+05:30",
"VoucherID": 1,
"ItemStatus": "sample string 15",
"TransactionDate": "2025-10-26T20:50:35.4642894+05:30",
"ExpiryDate": "sample string 16",
"BatchNumber": "sample string 17",
"SrNo": "sample string 18",
"MRP": 1.0,
"SalePrice": 1.0,
"IsChkIncludetaxInPurchaseRate": true,
"Percent_SGST": 20.0,
"Percent_CGST": 21.0,
"Percent_IGST": 22.0,
"Percent_discount": 23.0,
"transactionIdTo": 24,
"BarCodeTo": "sample string 25",
"ItemCodeTo": "sample string 26",
"ItemNameTo": "sample string 27",
"PurchaseRateTo": 1.0,
"CRQuantityTo": 1.0,
"FreeQtyTo": 1.0,
"DRQuantityTo": 1.0,
"DiscountTo": 1.0,
"TaxableAmountTo": 1.0,
"IGSTTo": 1.0,
"SGSTTo": 1.0,
"CGSTTo": 1.0,
"OtherTaxTo": 1.0,
"TotalPurchaseAmountTo": 1.0,
"VendorCodeTo": "sample string 28",
"StockLocationTo": "sample string 29",
"BillNoTo": "sample string 30",
"DescriptionTo": "sample string 31",
"BranchCodeTo": "sample string 32",
"EmployeeCodeTo": "sample string 33",
"EntryUserIDTo": "sample string 34",
"SendByServiceTo": "sample string 35",
"ReferenceIDTo": "sample string 36",
"RemarkTo": "sample string 37",
"EntryDateTo": "2025-10-26T20:50:35.4642894+05:30",
"VoucherIDTo": 1,
"ItemStatusTo": "sample string 38",
"TransactionDateTo": "2025-10-26T20:50:35.4642894+05:30",
"ExpiryDateTo": "sample string 39",
"BatchNumberTo": "sample string 40",
"SrNoTo": "sample string 41",
"MRPTo": 1.0,
"SalePriceTo": 1.0,
"IsChkIncludetaxInPurchaseRateTo": true,
"Percent_SGSTTo": 43.0,
"Percent_CGSTTo": 44.0,
"Percent_IGSTTo": 45.0,
"Percent_discountTo": 46.0
}
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": {}
}