FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
URL | http://<wmservice-url>/community/createGroup |
---|---|
Parent Resource | Community |
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.
Syntax: { "name":"<name>", "description":"<description>", "email":"<email>", } |
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=pjsonExample 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{ "groupId": "<groupId>" }
{ "groupId": 401 }