Group Web Services
Universal Controller supports the following RESTful-based web services for User and Group operations, which are listed alphabetically on this page.
Formatting specifications for each web service, including details about parameter requirements, are provided.
Create a Group
Description | |
|---|---|
URI | http://host_name/uc/resources/usergroup |
HTTP Method | POST |
Description | Creates a new User Group. |
Example URI | |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example | See Create and Modify a Group: XML and JSON Examples, below. |
Group Properties | See Group Properties, below. |
Group Member Properties | See Group Member Properties, below. |
Group Permission Properties | See Group Permission Properties, below. |
Group Role Properties | See Group Role Properties, below. |
Example Response |
|
Create and Modify a Group: XML and JSON Examples
The excludeRelated and retainSysIds properties are specified as attributes in the <userGroup> element of XML web services.
- JSON
- XML
JSON
{
"ctrlNavigationVisibility" : false,
"description" : null,
"email" : null,
"groupMembers" : [ {
"sysId" : "386bf68d82a74a9e94eab18c1b1844c2",
"user" : {
"name" : "stone b branch",
"value" : "stonebranch-user-02"
}
}, {
"sysId" : "792aa1dc1a1b4decb0b02d82ed7e9422",
"user" : {
"name" : "stone c branch",
"value" : "stonebranch-user-03"
}
}, {
"sysId" : "b78079e1166d4c5180d7e42443de44a0",
"user" : {
"name" : "stone a branch",
"value" : "stonebranch-user-01"
}
} ],
"groupRoles" : [ {
"role" : {
"description" : "The administrator role.",
"value" : "ops_admin"
},
"sysId" : "b80e78a42589435f92f3e176af6dc542"
} ],
"manager" : null,
"name" : "stonebranch-group-01",
"navigationVisibility" : [ ],
"parent" : null,
"permissions" : [ {
"allGroups" : true,
"commands" : null,
"defaultGroup" : true,
"nameWildcard" : "*",
"notGroups" : false,
"opCreate" : false,
"opDelete" : false,
"opExecute" : false,
"opRead" : true,
"opUpdate" : false,
"opswiseGroups" : [ ],
"permissionType" : "Task Instance",
"sysId" : "59e5565c9f6a45ed8633d05a91ac1019"
} ],
"retainSysIds" : true,
"sysId" : "b39b2b8eac644e068a68f92f325b0c74"
}
XML
<userGroup retainSysIds="true">
<ctrlNavigationVisibility>false</ctrlNavigationVisibility>
<description />
<email />
<groupMembers>
<groupMember>
<sysId>386bf68d82a74a9e94eab18c1b1844c2</sysId>
<user name="stone b branch">stonebranch-user-02</user>
</groupMember>
<groupMember>
<sysId>792aa1dc1a1b4decb0b02d82ed7e9422</sysId>
<user name="stone c branch">stonebranch-user-03</user>
</groupMember>
<groupMember>
<sysId>b78079e1166d4c5180d7e42443de44a0</sysId>
<user name="stone a branch">stonebranch-user-01</user>
</groupMember>
</groupMembers>
<groupRoles>
<groupRole>
<role description="The administrator role.">ops_admin</role>
<sysId>b80e78a42589435f92f3e176af6dc542</sysId>
</groupRole>
</groupRoles>
<manager />
<name>stonebranch-group-01</name>
<navigationVisibility/>
<parent />
<permissions>
<permission>
<allGroups>true</allGroups>
<commands />
<defaultGroup>true</defaultGroup>
<nameWildcard>*</nameWildcard>
<notGroups>false</notGroups>
<opCreate>false</opCreate>
<opDelete>false</opDelete>
<opExecute>false</opExecute>
<opRead>true</opRead>
<opUpdate>false</opUpdate>
<opswiseGroups/>
<permissionType>Task Instance</permissionType>
<sysId>59e5565c9f6a45ed8633d05a91ac1019</sysId>
</permission>
</permissions>
<sysId>b39b2b8eac644e068a68f92f325b0c74</sysId>
</userGroup>
Delete a Group
Description | |
|---|---|
URI | http://host_name/uc/resources/usergroup |
HTTP Method | DELETE |
Description | Deletes a Group. |
URI Parameters | See Group Delete a Group URI Parameters, below. |
Example URI | |
Example Response |
|
Delete a Group: URI Parameters
Parameter | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| ID used within the Controller to identify this group. | String; URI parameter. | Y (unless |
|
| Name used within the Controller to identify this group. | String; URI parameter. | Y (unless |
|
List Groups
Description | |
|---|---|
URI | http://host_name/uc/resources/usergroup/list |
HTTP Method | GET |
Description | Retrieves information on all Groups. |
Example URI | |
Authentication | HTTP Basic |
Produces Content-Type | application/xml, application/json |
Example | |
Group Properties | See Group Properties. |
Group Member Properties | |
Group Permission Properties | |
Group Role Properties |
List Groups XML and JSON Examples
- JSON
- XML
JSON
[ {
"ctrlNavigationVisibility" : false,
"description" : null,
"email" : null,
"groupMembers" : [ {
"sysId" : "386bf68d82a74a9e94eab18c1b1844c2",
"user" : {
"name" : "stone b branch",
"value" : "stonebranch-user-02"
}
}, {
"sysId" : "792aa1dc1a1b4decb0b02d82ed7e9422",
"user" : {
"name" : "stone c branch",
"value" : "stonebranch-user-03"
}
}, {
"sysId" : "b78079e1166d4c5180d7e42443de44a0",
"user" : {
"name" : "stone a branch",
"value" : "stonebranch-user-01"
}
} ],
"groupRoles" : [ {
"role" : {
"description" : "The administrator role.",
"value" : "ops_admin"
},
"sysId" : "b80e78a42589435f92f3e176af6dc542"
} ],
"manager" : null,
"name" : "stonebranch-group-01",
"navigationVisibility" : [ ],
"parent" : null,
"permissions" : [ {
"allGroups" : true,
"commands" : null,
"defaultGroup" : true,
"nameWildcard" : "*",
"notGroups" : false,
"opCreate" : false,
"opDelete" : false,
"opExecute" : false,
"opRead" : true,
"opUpdate" : false,
"opswiseGroups" : [ ],
"permissionType" : "Task Instance",
"sysId" : "59e5565c9f6a45ed8633d05a91ac1019"
} ],
"sysId" : "b39b2b8eac644e068a68f92f325b0c74"
} ]
XML
<userGroups>
<userGroup>
<ctrlNavigationVisibility>false</ctrlNavigationVisibility>
<description/>
<email/>
<groupMembers>
<groupMember>
<sysId>386bf68d82a74a9e94eab18c1b1844c2</sysId>
<user name="stone b branch">stonebranch-user-02</user>
</groupMember>
<groupMember>
<sysId>792aa1dc1a1b4decb0b02d82ed7e9422</sysId>
<user name="stone c branch">stonebranch-user-03</user>
</groupMember>
<groupMember>
<sysId>b78079e1166d4c5180d7e42443de44a0</sysId>
<user name="stone a branch">stonebranch-user-01</user>
</groupMember>
</groupMembers>
<groupRoles>
<groupRole>
<role description="The administrator role.">ops_admin</role>
<sysId>b80e78a42589435f92f3e176af6dc542</sysId>
</groupRole>
</groupRoles>
<manager />
<name>stonebranch-group-01</name>
<navigationVisibility/>
<parent />
<permissions>
<permission>
<allGroups>true</allGroups>
<commands/>
<defaultGroup>true</defaultGroup>
<nameWildcard>*</nameWildcard>
<notGroups>false</notGroups>
<opCreate>false</opCreate>
<opDelete>false</opDelete>
<opExecute>false</opExecute>
<opRead>true</opRead>
<opUpdate>false</opUpdate>
<opswiseGroups/>
<permissionType>Task Instance</permissionType>
<sysId>59e5565c9f6a45ed8633d05a91ac1019</sysId>
</permission>
</permissions>
<sysId>b39b2b8eac644e068a68f92f325b0c74</sysId>
</userGroup>
</userGroups>
Modify a Group
Description | |
|---|---|
URI | http://host_name/uc/resources/usergroup |
HTTP Method | PUT |
Description | Modifies the Group specified by the To modify Group properties without modifying related records, see the excludeRelated property, below. |
Example URI | |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Request | |
Group Properties | See Group Properties. |
Group Member Properties | |
Group Permission Properties | |
Group Role Properties | |
Example Response |
|
Read a Group
Description | |
|---|---|
URI | http://host_name/uc/resources/usergroup |
HTTP Method | GET |
Description | Retrieves information on a specific Group. |
URI Parameters | See Read a Group: URI Parameters, below. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Response |
|
Response Group Member Properties | |
Response Group Permission Properties | |
Response Group Role Properties |
Read a Group: URI Parameters
Parameter | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|
| ID used within the Controller to identify this group. | String; URI parameter. | Y (unless |
|
| Name used within the Controller to identify this group. | String; URI parameter. | Y (unless |
|
Read a Group XML and JSON Examples
The retainSysIds property is specified as an attribute in the <userGroup> element of the XML response.
- JSON
- XML
JSON
{
"ctrlNavigationVisibility" : false,
"description" : null,
"email" : null,
"groupMembers" : [ {
"sysId" : "386bf68d82a74a9e94eab18c1b1844c2",
"user" : {
"name" : "stone b branch",
"value" : "stonebranch-user-02"
}
}, {
"sysId" : "792aa1dc1a1b4decb0b02d82ed7e9422",
"user" : {
"name" : "stone c branch",
"value" : "stonebranch-user-03"
}
}, {
"sysId" : "b78079e1166d4c5180d7e42443de44a0",
"user" : {
"name" : "stone a branch",
"value" : "stonebranch-user-01"
}
} ],
"groupRoles" : [ {
"role" : {
"description" : "The administrator role.",
"value" : "ops_admin"
},
"sysId" : "b80e78a42589435f92f3e176af6dc542"
} ],
"manager" : null,
"name" : "stonebranch-group-01",
"navigationVisibility" : [ ],
"parent" : null,
"permissions" : [ {
"allGroups" : true,
"commands" : null,
"defaultGroup" : true,
"nameWildcard" : "*",
"notGroups" : false,
"opCreate" : false,
"opDelete" : false,
"opExecute" : false,
"opRead" : true,
"opUpdate" : false,
"opswiseGroups" : [ ],
"permissionType" : "Task Instance",
"sysId" : "59e5565c9f6a45ed8633d05a91ac1019"
} ],
"retainSysIds" : true,
"sysId" : "b39b2b8eac644e068a68f92f325b0c74"
}
XML
<userGroup retainSysIds="true">
<ctrlNavigationVisibility>false</ctrlNavigationVisibility>
<description />
<email />
<groupMembers>
<groupMember>
<sysId>386bf68d82a74a9e94eab18c1b1844c2</sysId>
<user name="stone b branch">stonebranch-user-02</user>
</groupMember>
<groupMember>
<sysId>792aa1dc1a1b4decb0b02d82ed7e9422</sysId>
<user name="stone c branch">stonebranch-user-03</user>
</groupMember>
<groupMember>
<sysId>b78079e1166d4c5180d7e42443de44a0</sysId>
<user name="stone a branch">stonebranch-user-01</user>
</groupMember>
</groupMembers>
<groupRoles>
<groupRole>
<role description="The administrator role.">ops_admin</role>
<sysId>b80e78a42589435f92f3e176af6dc542</sysId>
</groupRole>
</groupRoles>
<manager />
<name>stonebranch-group-01</name>
<navigationVisibility/>
<parent />
<permissions>
<permission>
<allGroups>true</allGroups>
<commands />
<defaultGroup>true</defaultGroup>
<nameWildcard>*</nameWildcard>
<notGroups>false</notGroups>
<opCreate>false</opCreate>
<opDelete>false</opDelete>
<opExecute>false</opExecute>
<opRead>true</opRead>
<opUpdate>false</opUpdate>
<opswiseGroups/>
<permissionType>Task Instance</permissionType>
<sysId>59e5565c9f6a45ed8633d05a91ac1019</sysId>
</permission>
</permissions>
<sysId>b39b2b8eac644e068a68f92f325b0c74</sysId>
</userGroup>
Properties
Group Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| Control Navigation Visibility | Indication of whether or not to control the visibility of navigation pane entries in the Controller Navigator, via the | Boolean. Valid values: true/false. Default is false. | N |
| Description | Description of the group. | N | |
| Email address of this group. | N | ||
| n/a | For the Modify Group web service; specification for whether or not to exclude related records (Group Roles, Group Members, Group Permissions) from the update, even if they are provided in the request. info In XML, | Valid values: true/false (default is false). | N |
| n/a | Users in this group. info Universal Controller only supports a user being a member of 1,000 groups or less. | Format XML JSON | N |
| n/a | Roles assigned to this group. | Format XML JSON | N |
| Manager | ID of the Universal Controller user that is the manager of this group. | N | |
| Name | Name of the group. | Y | |
| Navigation Visibility | List of all Controller Navigator entries. | Format XML To include all values, set the XML JSON Valid values: (see | N |
| Parent | Name of this group's parent group, if any. | N | |
| n/a | Permissions assigned to this group. | N | |
| n/a | For Create and Read web services; specification for whether or not the web service should persist the sysId property.
info In XML, | Valid values: true/false (default is true). | N |
| n/a | System ID field in the database for this record. | Persisted only if | N |
navigationNode Valid Values
Values | Navigation Panel |
|---|---|
| All navigation panels |
| Automation Center |
| Reporting |
| Agents & Connections |
| Bundles & Promotion |
| Administration |
Group Member Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| n/a | System ID field in the database for this record. | N | |
| User | User name of a group member. | Y |
Group Permission Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| Member of Any Business Service or Unassigned Business Service Criteria
| Specification for whether or not this permission applies both to records that belong to any Business Service and to records that do not belong to any Business Service. info If | Boolean. Valid Values: true/false. Default is false. | N |
| Commands | Commands that are associated with each permission. | Valid values: see Group Command Permissions, below. | N |
| Unassigned to Business Service Business Service Criteria
| Specification for whether or not this permission applies to records that do not belong to any Business Service. | Boolean. Valid Values: true/false. Default is false. | N |
| Name | Specification to apply this permission to records whose name matches the string specified here. | Wildcards (*'s) can be used. | Y |
| Not Member of Business Services Business Service Criteria
| Specification for whether or not this permission applies to records that are a member of | Boolean. Valid Values: true/false. Default is false. | N |
| Create | Allows members of the group to create records of the specified | Boolean. Valid Values: true/false. Default is false. Cannot be set to true if | N |
| Delete | Allows members of the group to delete records of the specified | Boolean. Valid Values: true/false. Default is false. Cannot be set to true if | N |
| Execute | Allows the user to execute records of the specified | Boolean. Valid Values: true/false. Default is false. If the Strict Connection Execute Constraints Universal Controller system property is false:
If the Strict Connection Execute Constraints Universal Controller system property is true:
| N |
| Read | Allows the user to read records of the specified | Boolean. Valid Values: true/false. Default is false. If the Strict Business Service Membership Read Constraints Universal Controller system property is false:
| N |
| Update | Allows members of the group to update records of the specified | Boolean. Valid Values: true/false. Default is false. Must be set to true if | N |
| Specific Business Services | Applies this permission to records that are members of the selected Business Service(s). | Format: XML JSON | N |
| Type | Type of permission for this group. | Valid values:
| Y |
| n/a | System ID field in the database for this record. | Persisted only if | N |
Command Permissions
Permission Type | Commands |
|---|---|
Agent |
|
Agent Cluster |
|
Application |
|
Bundle |
|
Calendar |
|
Credential | |
Database Connection |
|
Email Connection |
|
Email Template |
|
OMS Server |
|
PeopleSoft Connection |
|
Promotion Target |
|
SAP Connection |
|
Script |
|
SNMP Manager |
|
Task |
|
Task Instance |
|
Trigger |
|
Variable | |
Virtual Resource |
|
Group Role Properties
Property | UI Field Name | Description | Specifications | Required |
|---|---|---|---|---|
| Role | Role assigned to this group. | Y | |
| n/a | System ID field in the database for this record. | N |