Skip to main content

Posts

Showing posts from July, 2017

Rest API Curd Operations

Reference urls https://www.codeproject.com/Articles/990131/CRUD-operation-to-list-using-SharePoint-Rest-API https://social.technet.microsoft.com/wiki/contents/articles/33795.sharepoint-2013-crud-operation-on-list-items-using-rest-api-services.aspx Retrive LIst Items function retriveListItem()  {  03.      04.      $.ajax  05.      ({  06.          url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/GetByTitle('companyInfo')/items?$select=Company,Industry",  07.          type: type,  08.          data: data,  09.          headers:  10.          {  11.              "Accept": "application/json;odata=verbose",  12.              "Content-Type": "application/json;odata=verbose",  13.              "X-RequestDigest": $("#__REQUESTDIGEST").val(),  14.              "IF-MATCH": "*",  15.              "X-HTTP-Method": null  16.          },  17.