POST api/reports/accledger

Request Information

URI Parameters

None.

Body Parameters

AccLedgerReportRequestModel
NameDescriptionTypeAdditional information
BranchID

integer

None.

FinancialYearID

integer

None.

LedgerID

string

None.

LedgerCategoryID

integer

None.

dateFrom

date

None.

dateTo

date

None.

ShowOpeningBalance

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "BranchID": 1,
  "FinancialYearID": 2,
  "LedgerID": "sample string 3",
  "LedgerCategoryID": 4,
  "dateFrom": "2025-12-18T23:03:16.447046-08:00",
  "dateTo": "2025-12-18T23:03:16.447046-08:00",
  "ShowOpeningBalance": true
}

application/xml, text/xml

Sample:
<AccLedgerReportRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <BranchID>1</BranchID>
  <FinancialYearID>2</FinancialYearID>
  <LedgerCategoryID>4</LedgerCategoryID>
  <LedgerID>sample string 3</LedgerID>
  <ShowOpeningBalance>true</ShowOpeningBalance>
  <dateFrom>2025-12-18T23:03:16.447046-08:00</dateFrom>
  <dateTo>2025-12-18T23:03:16.447046-08:00</dateTo>
</AccLedgerReportRequestModel>

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 'AccLedgerReportRequestModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.