Bahar Wadia
Posts: 0
Joined: Sat Oct 12, 2013 6:38 pm

Can I limit the REST response to include only certain columns, rather than all columns?

I am trying to improve the performance of my app by limiting the amount of data that is being transmitted between the app and the REST database.

So I want to limit the number of columns of data that are being returned. What is the best way of doing this?

Thanks

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Can I limit the REST response to include only certain columns, rather than all columns?

Hello,

You can remove nor used columns from response tab.

Bahar Wadia
Posts: 0
Joined: Sat Oct 12, 2013 6:38 pm

Can I limit the REST response to include only certain columns, rather than all columns?

That worked.

I also have pointers in the collection. How do I limit the columns that I receive through the pointers.

Thanks

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Can I limit the REST response to include only certain columns, rather than all columns?

You can remove response parameters from the response as Igor suggested but the entire JSON response will still be sent to the client. An alternative is to invoke the service in Server Code and there return only the data/columns that you need.

Return to “Issues”