Contents
The new REST (Representational State Transfer) interface in Microsoft SharePoint Foundation 2010 provides access to lists and libraries as a relational data service. A core concept of any RESTful interface is the resource, and in SharePoint Foundation, lists and items are represented as HTTP resources that can be addressed by remote URLs.
Operations in the SharePoint Foundation REST interface constitute a standard set of operations for RESTful web services. Read, create, update, and delete operations are mapped directly to GET, POST, PUT, and DELETE HTTP verbs.
Advanced features of ADO.NET Data Services are also supported by the SharePoint Foundation REST interface, such as batching multiple operations into a single request, concurrency control through HTTP ETags, paging of large data sets, and access to document streams in SharePoint document libraries.
How to create and update SharePoint entities using rest?
You can create and update SharePoint entities by constructing RESTful HTTP requests to the appropriate endpoints, just as you do when you’re reading data. One key difference, however, is that you use a POST request.
How to access SharePoint resources using REST service?
To access SharePoint resources using REST, construct a RESTful HTTP request by using the OData standard, which corresponds to the desired client object model API.
When to use REST API for filtering and selecting?
There can be scenarios where you want to perform additional operations on data returned by a REST API like selecting, filtering, sorting and pagination fields only, etc. For such operations while forming the URL to Get data, we have to add some parameters as described below:-
SharePoint Server 2010 Web Services. Web Service. Description. WebSvcOrganizationProfileService. Provides an interface for remote clients to read and create organization profiles. WebSvcPublishedLinksService. Provides a published links interface for remote clients to read and create published links. WebSvcSearch.