From 04f316af025b627af619074079836bde0caad950 Mon Sep 17 00:00:00 2001 From: Vlad Uspensky Date: Thu, 25 Jan 2018 14:32:15 -0800 Subject: Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) 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): ``` -- cgit v1.2.3