Which URL should you use?

You create a custom list named Products.

You need to perform a Representational State Transfer (REST) query that returns products 30 to 39.

Which URL should you use?

You create a custom list named Products.

You need to perform a Representational State Transfer (REST) query that returns products 30 to 39.

Which URL should you use?

A.
/ListData.svc/Products(30) $skip=10

B.
/ListData.svc/Products(39) $skip=30

C.
/ListData.svc/Products $skip=10&$top=30

D.
/ListData.svc/Products $skip=30&$top=10

Explanation:
MNEMONIC RULE: “skip first 30, get top 10”

Using REST to get data form SharePoint 2010 lists
http://mysharepointwork.blogspot.com/2010/09/using-rest-to-get-data-form-sharepoint.html



Leave a Reply 0

Your email address will not be published. Required fields are marked *