Microsoft
70-573 · Question #82
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?
The correct answer is D. /ListData.svc/Products $skip=30&$top=10. MNEMONIC RULE: "skip first 30, get top 10" Using REST to get data form SharePoint 2010 lists
Developing for Data Access
Question
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?
Options
- 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
How the community answered
(29 responses)- A7% (2)
- B10% (3)
- C3% (1)
- D79% (23)
Explanation
MNEMONIC RULE: "skip first 30, get top 10" Using REST to get data form SharePoint 2010 lists
Topics
#REST API#ListData.svc#$skip $top#pagination
Community Discussion
No community discussion yet for this question.