<create> element

The <create> element contains the <parameter> and <attributes> elements in a POST request.

Contained by:

Contains:

The <create> element must contain one <attributes> element and can contain one or more child <parameter> elements. A POST request can contain only one <create> element.

Examples

The following example shows the creation of a BAS resource with name ABCD.
POST http://exampledomain.com:12345/CICSSystemManagement/<RESOURCE NAME>/<CONTEXT> 

   <request>      
      <create>
         <attributes name="ABCD" defver="1" />
      </create>
   </request>
The following example shows the creation of a BAS resource with name ABCD in the group GROUP1.
POST http://exampledomain.com:12345/CICSSystemManagement/<RESOURCE NAME>/<CONTEXT>

   <request>
      <create>
         <parameter name="RESGROUP" value="GROUP1"/>
         <attributes name="ABCD" defver="1" /> 
      </create>
   </request>
The following example shows the creation of a CSD resource with name ABCD in the group GROUP2.
POST http://exampledomain.com:12345/CICSSystemManagement/<RESOURCE NAME>/<CONTEXT>/<SCOPE>

   <request>
      <create>
         <parameter name="CSD"/>
         <attributes name="ABCD" csdgroup="GROUP2"/> 
      </create>
   </request>