Community
Showing results for 
Search instead for 
Do you mean 
Reply

Paging limits

Bronze Elite Contributor
Posts: 2,115
Country: United_Kingdom

Paging limits

I know that Essentials has a paging limit of 250 "rows" per response, is this the same for the Web API and are there any plans on enabling modification of the size of the response?

Vivek Gargav
Caldere Associates Ltd.
www.caldere.com
vgargav@caldere.com
My Blog
Employee
Posts: 236
Country: USA

Re: Paging limits

While generally you want fat responses, you don't to retrieve so many records over the wire that it becomes overly taxing and slow.  Hence, you want paging when retrieving many records (aka enumarting records).

 

Both Essentials API and Premium Web API support OData query for paging:

 

/contacts?skip=0&top=50

 

The difference right now is that Essentials will respond with a Link Header to provide you with the next chunck:

 

Link: <.../contacts?top=50&skip=50>; rel="next"

 

We'll likely provide that in Web API as well.