Adding support for partial response

Adding support for partial response. This will allow users of the API to specify what fields they need in response to API call. Adding test cases and updating the documentation to reflect the same.