By using the SharePoint app, _api JSON Viewer, http://office.microsoft.com/en-us/store/api-json-viewer-WA103999972.aspx, we can easily execute and test REST request. When we start the _api JSON Viewer, we can enter a request in to the “query textbox” like query for all lists on host web.
Now we have the result for the lists
If we reenter the query for only retrieve the title of the list
and even add a more advanced query, by using the $filter query option.
For more information about the REST request and query operations look here “Use OData query operations in SharePoint REST requests”
Looking for more REST? Look here "A little rest"
Wow. This really made my day. Thanks a lot!ReplyDelete