POST api/Stock/InProductStock

Request Information

URI Parameters

None.

Body Parameters

VendorLedgerRequestModel
NameDescriptionTypeAdditional information
StockProductRequestMdoelList

Collection of StockProductRequestMdoel

None.

TaxRequestModelList

Collection of OtherTaxRequestModel

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.

Request Formats

application/json, text/json

Sample:
{
  "StockProductRequestMdoelList": [
    {
      "transactionId": 1,
      "BarCode": "sample string 2",
      "UnitId": 1,
      "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:54:56.4531028+05:30",
      "VoucherID": 1,
      "ItemStatus": "sample string 15",
      "TransactionDate": "2025-10-26T20:54:56.4531028+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
    },
    {
      "transactionId": 1,
      "BarCode": "sample string 2",
      "UnitId": 1,
      "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:54:56.4531028+05:30",
      "VoucherID": 1,
      "ItemStatus": "sample string 15",
      "TransactionDate": "2025-10-26T20:54:56.4531028+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
    }
  ],
  "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"
    }
  ],
  "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-10-26T20:54:56.4531028+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"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AddUpdateDeleteResponse
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Message": "sample string 2",
  "Data": {}
}