[
https://issues.apache.org/jira/browse/FINERACT-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17719876#comment-17719876
]
Peter Santa edited comment on FINERACT-1912 at 5/5/23 2:02 PM:
---------------------------------------------------------------
{{{color:#1d1c1d}Then the only solution I see is to get back to the idea of
{color}{color:#1d1c1d}Muthu{color}{color:#1d1c1d}, to have a new endpoint,
{color}{{{{{}url{}}}/savingsaccounts/{{{}accountId{}}}/transactions?offset=0&limit=10}}{color:#1d1c1d}
, and leave
{color}{{{{{}url{}}}/savingsaccounts/{{{}accountId{}}}?associations=all}}{color:#1d1c1d}
as it is currently.{color}}}
was (Author: peter.santa):
{color:#1d1c1d}Then the only solution I see is to get back to the idea of
{color}{color:#1d1c1d}Muthu{color}{color:#1d1c1d}, to have a new endpoint,
{color}{{{\{url}}/savingsaccounts/\{{accountId}}/transactions?offset=0&limit=10}}{color:#1d1c1d}
, and leave
{color}{{{\{url}}/savingsaccounts/\{{accountId}}?associations=all}}{color:#1d1c1d}
as it is currently.{color}
> 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
> Priority: Major
> Labels: BeanSalad
>
> 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
> Foe 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
> * filtering for
> ** transaction date:
> *** greather-than-or-equal
> *** less-than-or-equal
> *** greater-than
> *** less-than
> ** amount
> **
> *** greather-than-or-equal
> *** less-than-or-equal
> *** greater-than
> *** less-than
> ** deposit/withdraw
> ** externalId - if FINERACT-1760 is already implemented
> The filtering parameters should be applied with "AND" relation.
> 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>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)