The title states my problem quite exactly. If I try to gather all 400+ items from a list using sharepoint\'s REST API, I only get first 100.
I have read http://msdn.micro
You can use RowLimit & RowsPerPage in rest call. Below is the example
$.ajax({
url: siteurl + "/_api/web/lists/getbytitle('NewList')/items",
method: "GET",
headers: { "Accept": "application/json; odata=verbose" },
RowLimit : null, //Specify the row limit
RowsPerPage : null, //Specify no of rows in a page
success: function (data) {
$('#oDataFilter').append("");
$.each(data.d.results, function(index, item){
$('#oDataFilter').append("" + item.ID + " "+ item.Title + " ");
});
$('#oDataFilter').append("
");
},
error: function (error) {
alert('Error getListItems :: '+JSON.stringify(error));
}