Moving to new WEB API for online queries