Update a Group Web Service

This web service updates 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/update HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: *******************************
Content-Type: application/xml
Content-Length: 696
Host: localhost:8090
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

<group>
   <description>MidVision WS Test Group</description>
   <enabled>true</enabled>
   <name>wsGroup01</name>
   <projects>
      <name>HELLO_WORLD</name>     
   </projects>
   <roles>
      <roleName>PROJECT_ENVIRONMENT_EDITOR</roleName>
   </roles>
   <roles>
      <roleName>PROJECT_CONFIGURATION_CHANGE_REQUESTOR</roleName>
   </roles>
   <roles>
      <roleName>PROJECT_BINARY_JOB</roleName>
   </roles>
   <roles>
      <roleName>PROJECT_BUILD_JOB</roleName>
   </roles>
   <roles>
      <roleName>PROJECT_APPLICATION_JOB</roleName>
   </roles>
   <roles>
      <roleName>GLOBAL_PLUGIN_MANAGER</roleName>
   </roles>
   <users>
      <username>wsUser01</username>
   </users>
</group>

Example Response

<html>
   <head>
      <meta content="HTML Tidy for Java (vers. 26 Sep 2004), see www.w3.org" name="generator"/>
      <title>updateGroup</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>updateGroup</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">Update Group</span>
                     <br/>
                     <span class="ui-messages-info-detail">SUCCESS: The group: wsGroup01 has been updated with the following: Roles [PROJECT_ENVIRONMENT_EDITOR, PROJECT_CONFIGURATION_CHANGE_REQUESTOR, PROJECT_BINARY_JOB, PROJECT_BUILD_JOB, PROJECT_APPLICATION_JOB, GLOBAL_PLUGIN_MANAGER] Users [wsUser01] Projects [HELLO_WORLD].</span>
                  </li>
               </ul>
            </div>
         </div>
      </div>
   </body>
</html>