How many items can be fetched by a single call of SharePoint List REST API?

or
How much the list view threshold for SP list?

Solution:


For normal SharePoit REST API-

We can fetched only 100 items at a time. For below REST API you can get only 100 items at a time.
SP List REST API: _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/GetByTitle('Company')/items" // company is the name of SharePoint list.

But using $top in REST API one can get maximum of 5000 items from a SharePoint List API at time.
SP List REST API: _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/GetByTitle('Company')/items?$top=5000"

The above URL/REST API can give you 5000 items at a time.

So the list view threshold for a SharePoint list is 5000 or Limit to get number of item from a SP list is 5000 items.



Comments

Popular posts from this blog

Get list item entity type full name of a SharePoint list using REST API

Get SharePoint list name by GUID

Get Current Web Logged In User of SharePoint Site in jQuery