Wednesday, May 14, 2014

A little, more, REST

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.

1

Now we have the result for the lists

clip_image003

If we reenter the query for only retrieve the title of the list

clip_image005

and even add a more advanced query, by using the $filter query option.clip_image007

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"

3 comments: