Details
-
New Feature
-
Status: Resolved
-
Critical
-
Resolution: Done
-
None
Description
Background
Goal
Have the querying possibilities - that have been developed with FINERACT-1747 - extended with the following features:
- pagination - similarly to several Fineract API endpoints
- sorting based on given attribute
- filter for closed (greather-than-or-equal, less-than-or-equal) interval in case of the following typed fields:
- date
- date and time
- number
- decimal
- string/text that can be parsed to numeric
- contains search in string and text fields
- exact match for string and text fields
The filtering parameters should be applied with "AND" relation.
Solution Concept
Have the solution concept aligned between
If multiple columns would be used as column filter, it is advisable not to put this number of query parameters in the url, but in the body, like graphql. With this, a request would look like:
URL
GET url/datatables/dataTableId/query?resultColumns=column3,column6,column4&offset=0&limit=10&sortOrder=desc&orderBy=transaction_date
Body
See the attached dataTableAdvancedFilteringExample.txt.
The filtering parameters should be applied with "AND" relation.
<Solution Concept to be extended by developers>
Attachments
Attachments
Issue Links
- blocks
-
FINERACT-1915 Transaction query - considering assigned data table
- Resolved
- is a child of
-
FINERACT-1917 Major improvement to Savings Account
- Closed
-
FINERACT-1874 Release Apache Fineract 1.9.0
- In Progress
- is related to
-
FINERACT-1916 Data Table query - Advanced result set
- Open
-
FINERACT-1970 Assign Data Table to Transaction (General)
- Open
-
FINERACT-1912 Transaction query - Advanced
- Resolved
-
FINERACT-1911 Assign Data Table to Transaction (Savings)
- Resolved
- relates to
-
FINERACT-1747 Have an API endpoint to query values from Data Table
- Resolved
- links to