Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1912

Transaction query - Advanced

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Critical
    • Resolution: Done
    • None
    • 1.9.0
    • Savings

    Description

      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.

      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>/savingsaccounts/<account_id>?associations=all

      Solution Concept

      Have the solution concept aligned between

      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

       

      Attachments

        Issue Links

          Activity

            People

              jdailey James Dailey
              peter.santa Peter Santa
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: