POST api/reports/payment

Request Information

URI Parameters

None.

Body Parameters

PaymentReportRequestModel
NameDescriptionTypeAdditional information
BranchID

integer

None.

FinancialYearID

integer

None.

dateFrom

date

None.

dateTo

date

None.

AccLedgerID

integer

None.

VoucherType

string

None.

CashAccountID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BranchID": 1,
  "FinancialYearID": 2,
  "dateFrom": "2025-12-18T23:02:35.1817619-08:00",
  "dateTo": "2025-12-18T23:02:35.1817619-08:00",
  "AccLedgerID": 5,
  "VoucherType": "sample string 6",
  "CashAccountID": 7
}

application/xml, text/xml

Sample:
<PaymentReportRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <AccLedgerID>5</AccLedgerID>
  <BranchID>1</BranchID>
  <CashAccountID>7</CashAccountID>
  <FinancialYearID>2</FinancialYearID>
  <VoucherType>sample string 6</VoucherType>
  <dateFrom>2025-12-18T23:02:35.1817619-08:00</dateFrom>
  <dateTo>2025-12-18T23:02:35.1817619-08:00</dateTo>
</PaymentReportRequestModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.