REST webservice implementation using CFX API