FRAMES | NO FRAMES Description | Parameters | Examples | Response
Create Group (Operation)
URL http://<wmservice-url>/community/createGroup
Parent Resource Community

Description

This operation is supported from 10.3.1 onwards.

Creates a new group.

Parameters

Parameter Details
f Description: The response format. The default response format is html.

Values: html | json
user Required
Description: The username of the person making the create group request. The person must have "AdministratorAccess" privilege.
properties Required
Description: A JSON object containing the group property values to create.

  • name: Required The name of the group to be created.
  • description: The description about the new group.
  • email: The email of the new group.

Syntax:

{
  "name":"<name>",
  "description":"<description>",
  "email":"<email>",
}

Example Usage

Example: URL for creating a new group called 'Editors' in the "Workflow" service on sampleserver. The user who makes the request is 'admin0000'.

http://sampleserver/arcgis/rest/services/Workflow/WMServer/community/createGroup?user=admin0000&properties="name":"Editors"&f=pjson

Example 2: URL for creating a new group called 'Quality Assurance' in the "Workflow" service on sampleserver. The user who makes the request is 'admin0000'. The description for the group is 'Responsible for Quality Assurance' and the email alias for the group is 'qualityassurance@abc.com'.

http://sampleserver/arcgis/rest/services/Workflow/WMServer/community/createGroup?user=admin0000&properties="name":"Quality+Assurance","description":"Responsible+for+Quality+Assurance","email";"qualityassurance@abc.com"&f=pjson

JSON Response Syntax

{ "groupId": "<groupId>" }

JSON Response Example

{ "groupId": 401 }