POST api/inventory/report/stockledger

Request Information

URI Parameters

None.

Body Parameters

StockLedgerReportRequestModel
NameDescriptionTypeAdditional information
BranchID

integer

None.

FinancialYearID

integer

None.

FromDate

date

None.

ToDate

date

None.

VoucherType

string

None.

ProductID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BranchID": 1,
  "FinancialYearID": 2,
  "FromDate": "2025-12-18T23:04:18.0277168-08:00",
  "ToDate": "2025-12-18T23:04:18.0277168-08:00",
  "VoucherType": "sample string 5",
  "ProductID": 6
}

application/xml, text/xml

Sample:
<StockLedgerReportRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <BranchID>1</BranchID>
  <FinancialYearID>2</FinancialYearID>
  <FromDate>2025-12-18T23:04:18.0277168-08:00</FromDate>
  <ProductID>6</ProductID>
  <ToDate>2025-12-18T23:04:18.0277168-08:00</ToDate>
  <VoucherType>sample string 5</VoucherType>
</StockLedgerReportRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'StockLedgerReportRequestModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.