SharePoint 2013 Hosting :: How to Create a Group in SharePoint Using REST API

Hi guys today I will explains you about how to create a group in SharePoint using REST API. REST sits on this stack in a way that makes it easy for humans to understand what’s being exchanged while allowing computers to talk to one another efficiently. You may have also heard of some of the other technologies that can reside here, such as SOAP (which requires a fair amount of data and computing power and is not really appropriate  for the constrained resources of mobile applications), JMS (which is specific to Java applications) and XML-RPC (which has many of the same problems as SOAP without any of the benefits of standardization).

ahp banner sharepoint-01

REST allows for a minimum amount of data to be passed using the same well-established mechanisms that define the web without a lot of the encumbrances introduced by fatter protocols. This allows programmers to more rapidly build programs that access and act upon data exposed via APIs, even in environments with unreliable network speeds and limited computing power. 

REST works almost exactly like a website in a browser. A resource is exposed to a program via a URL. The program can access that URL and receive data about the resource, not unlike when you type in a URL to your browser and get a web page back. Well designed RESTful APIs include additional links the program can follow to request related information – similar to how you would click on a link to visit a new page – or to submit data to update the given resource – similar to how you would fill out a web form to create a new account for a web site.

How to Create a Group in SharePoint Using REST API ?

Develop the project using the following method in the NAPA Tool.

On your Developer Site, open the “Napa” Office 365 Development Tools and then choose Add New Project.

  • Choose the App for SharePoint template, name the project Create Site and then choose the Create button.
  • Replace APP.js with the following source code.
  • Publish Your App.

kind of app

Prerequisite

The following are important steps to be done before creating the app.

Specify the permissions that your app needs as in the following.

Choose the Properties button at the bottom of the page.

  • In the Properties window, choose Permissions.
  • In the Content category, set the Write permissions for the Tenant scope.
  • In the Social category, set the Read permissions for the User Profiles scope.
  • Close the Properties window.

properties window

Source Code

Publish the App and click the Trust it Button.

publish app

Output

Group Created Successfully.

group created

I hope this article helpful for you 🙂

Top 3 SharePoint 2013 Hosting Recommendation

ASPHostPortal.com

ASPHostPortal.com provides its customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. ASPHostPortal.com offers SharePoint 2013 hosting starts from $9,99/month only. They also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable SharePoint 2013 Hosting, ASPHostPortal.com should be your best choice.

HostForLIFE.eu

The price of HostForLIFE.eu SharePoint 2013 hosting packages is quite competitive, especially the Level 1 which we may recommend most here. The Level 1 hosting package is €9.99/mo. It include 50GB bandwidth, 5 GB disk storage, MSSQL 2012 databases, MySQL databases, Unlimited Subsites and support almost all of the cutting-edge Windows technologies, such as remote IIS management, ASP.NET v5 and Full Trust. Hosting a Windows-based website with HostForLife.eu should be absolutely worry-free.

DiscountService.com.au

DiscountService.com.au is Microsoft Gold Partner, which means they will be the first one to know the latest Microsoft technology and test Microsoft product before being released to the public. With tons of positive feedback from their customers, we are glad to grant them as the Best SharePoint 2013 Hosting of this month. Their SharePoint hosting is sold at $10/month only, each account is allocated with large Bandwith and Storage Space. It’s sufficient to run a website which is not very busy.