Restful webservice implementation for FormsAPI