Add Roles to a Group Web Service
This web service adds a comma separated list of roles to a RapidDeploy group in the framework server. To get a list of group role names please refer to listGroupRoles operation.
Example request
PUT http://localhost:8090/MidVision/ws/group/addRolesToGroup/wsGroup01?rolesToAdd=GLOBAL_RELEASE_MANAGER%2C%20GLOBAL_TEST_MANAGER HTTP/1.1 Accept-Encoding: gzip,deflate Authorization: ******************************* Content-Type: application/xml Content-Length: 0 Host: localhost:8090 Connection: Keep-Alive User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
Example Response
<html> <head> <meta content="HTML Tidy for Java (vers. 26 Sep 2004), see www.w3.org" name="generator"/> <title>addRolesToGroup</title> <link type="text/css" rel="stylesheet" href="http://localhost:8090/MidVision/ui/javax.faces.resource/components.css?ln=primefaces"/> </head> <body> <div> <div style="border-bottom: 0.1em solid black; display: block; height: 30px; margin-bottom: 1em; margin-top: 0.5em; position: relative; width: 100%;"> <h2>addRolesToGroup</h2> </div> <div aria-live="polite" class="ui-messages ui-widget"> <div class="ui-messages-info ui-corner-all"> <ul> <li> <span class="ui-messages-info-summary">Add Roles To Group</span> <br/> <span class="ui-messages-info-detail">SUCCESS: The group: wsGroup01 has been updated, by adding the following roles [GLOBAL_RELEASE_MANAGER, GLOBAL_TEST_MANAGER].</span> </li> </ul> </div> </div> </div> </body> </html>