Create a Group Web Service
This web service creates 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/create HTTP/1.1 Accept-Encoding: gzip,deflate Authorization: ******************************* Content-Type: application/xml Content-Length: 698 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>PROJECT_PACKAGE_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>createGroup</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>createGroup</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">Create Group</span> <br/> <span class="ui-messages-info-detail">SUCCESS: The group: wsGroup01 has been created.</span> </li> </ul> </div> </div> </div> </body> </html>