Class AccountLedgerApiController
java.lang.Object
com.bluebell.greenhouse.planter.controllers.account.AccountLedgerApiController
@RestController
@RequestMapping("${bluebell.base.api.controller.endpoint}/account-ledger")
@CrossOrigin(origins="*",
methods=GET)
public class AccountLedgerApiController
extends Object
API controller for account-ledger activity reports.
- Version:
- 3.0.5
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<AccountLedgerReportDTO> getAccountLedgerForInterval(AccountRequestContext context, AccountLedgerSearchRequest searchRequest) Returns searchable account-ledger activity for an interval.
-
Constructor Details
-
AccountLedgerApiController
public AccountLedgerApiController()
-
-
Method Details
-
getAccountLedgerForInterval
@GetMapping("/get-for-interval") public org.springframework.http.ResponseEntity<AccountLedgerReportDTO> getAccountLedgerForInterval(@ResolvedAccount AccountRequestContext context, @ModelAttribute AccountLedgerSearchRequest searchRequest) Returns searchable account-ledger activity for an interval.- Parameters:
context-AccountRequestContextsearchRequest-AccountLedgerSearchRequest- Returns:
AccountLedgerReportDTO
-