aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index a0d1c11..11b3add 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,11 @@
Allows to read queries from the REST requests (query parameters) and map them to the typed SQL Slick queries.
Supports ANDs and ORs, pagination and sorting.
+Example of the REST request applying filtering:
+```
+https://treatment-matching-api/v1/patient?filters=status+EQ+New&filters=assignee+EQ+null&pageNumber=1&pageSize=20&sort=lastUpdate
+```
+
Queries can be build in the code as well (e.g., for testing):
```