API Response Format

Hello Everyone,

I am creating API but the response I am getting is not in the proper format mentioned in the document.

I need the response in this format so please guide me on this. How can I change the format of the responses?


Thanks in Advance