Posts

Showing posts with the label Create

SharePoint 2013 CRUD Operation to List Using Rest API

Image
CRUD Operation to List Using SharePoint 2013 Rest API This post will give you a complete idea about CRUD (Create, Read, Update and Delete) operation in a list of SharePoint 2013 using REST API. REST service for list was first introduced in SharePoint 2010. It was under the end point /_vti_bin/listdata.svc, and it still works in SharePoint 2013. SharePoint 2013 introduces another endpoint /_api/web/lists, and which is much more powerful than in SharePoint 2010. The main advantage of REST in SharePoint 2013 is: we can access data by using any technology that supports REST web request and Open Data Protocol (OData) syntax. That means you can do everything just making HTTP requests to the dedicated endpoints. Available HTTP methods are GET, POST, PUT, MERGE, and PATCH . READ : HTTP GET method is used for any kinds of read operation. CREATE : Any kind of create operation like list, list item, site and so on maps to the HTTP POST method. You have to specify the data in reques...