Further working on integration of REST API