5

can anybody verify that in the new OData endpoint of SharePoint 2013 found at /_api/ does not implement the keywords $inlinecount and $count? ListData.svc has it implemented.

Example:

/_api/web/Lists/getbytitle('listname')/items?$inlinecount=allpages <-- No count in output

/_vti_bin/ListData.svc/listname?$inlinecount=allpages <-- Has count in output.

1
  • $skip is not working, too ... Commented Jan 23, 2014 at 17:19

1 Answer 1

5

I have various parameters for testing ODATA API

And have tested:

"_api/Web/Lists/getByTitle('Documents')/itemcount"

result: item count

Is equivalent of "_vti_bin/ListData.svc/Documents/$count" the result is fast and immediate: enter image description here

with this "/_vti_bin/ListData.svc/listname?$inlinecount=allpages"

add to result as field called "count", see image below: count allpages

You can clearly see the differences of these three parameters?

Later I will testing the other.

Thanks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.