Resolved all issues related to the rest call and created table representaion in view