New simple REST service implemented for QueryAPI