Rest API front ends are changed as needed for client

REST API is changed as we needed in jaggery frontend