[
https://issues.apache.org/jira/browse/FINERACT-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Santa resolved FINERACT-1912.
-----------------------------------
Resolution: Fixed
Tested on
[https://github.com/apache/fineract/commit/8b1a1c0d40fa8810fad3232075e3341afd6bcda5]
Results: Passed
> Transaction query - Advanced
> ----------------------------
>
> Key: FINERACT-1912
> URL: https://issues.apache.org/jira/browse/FINERACT-1912
> Project: Apache Fineract
> Issue Type: New Feature
> Components: Savings
> Reporter: Peter Santa
> Assignee: James Dailey
> Priority: Critical
> Labels: BeanSalad
> Fix For: 1.9.0
>
>
> h1. Background
> Currently transactions of a Saving Account cannot be filtered - either all of
> them are in the response (using ...?associations=all), or none of them.
> Pagination and sorting is not supported.
> h1. Goal
> For Transactions related to - at least - Savings Account, support having:
> * pagination - following the concept in Fineract, implemented already for
> other entities
> * sorting - following the concept in Fineract, implemented already for other
> entities
> ** by ID - default
> ** by transaction.date - system time or business date specified by Fineract,
> when the transaction has been inserted
> ** by submittedOnDate - the date, specified in the REST request when
> initiating the transaction
> * filtering for
> ** transaction date:
> *** greather-than-or-equal
> *** less-than-or-equal
> ** amount
> *** greather-than-or-equal
> *** less-than-or-equal
> ** deposit/withdraw
> ** externalId - if FINERACT-1760 is already implemented
> The filtering parameters should be applied with "AND" relation.
> The response should have the transaction details on a similar way, as it is
> in the transactions array of:
> {{{}<url>{}}}{color:#212121}/savingsaccounts/<{color}{{{}account_id>{}}}{color:#212121}?associations=all{color}
> h1. Solution Concept
> Have the solution concept aligned between
> * FINERACT-1910
> * FINERACT-1912
> * FINERACT-1915
> The API should support passing the required parameters.
> <Solution Concept to be extended by developers>
>
> Swagger:
> [https://webapp.ps.mifos.io/fineract-provider/swagger-ui/index.html#/Savings%20Account%20Transactions/searchTransactions]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)