Create CI Instance process for v7.5

The Create CI Instance process creates a Configuration Item within BMC Atrium CMDB for the specified class.

The following table describes the process input elements for the Create CI process.

Note

The CMDB application adapter for the 7.6 release does not contain the Create Relation Instance wrapper. You have use the Create CI Instance wrapper for creating relationship instance. The mandatory attributes need to be specified in the attribute list in order to create a relationship instance.

Process Inputs - Create CI Instance process

Process input

Description

Required?

<adapter name>

Specifies the name of the adapter to use to handle the request
Default value: BMCAtriumCMDBActorAdapter

No

<items>

Specifies an XML document containing the attribute for an instance to be created in BMC Atrium CMDB

Yes

The following figure shows a sample <items> XML for the Create CI Instance process.

<items> XML sample for the Create CI Instance process

 <items>
<item>
  <parameters>
    <username>Demo</username>
    <password> </password>
    <login-info>
      <locale />
      <time-zone />
      <authentication />
    </login-info>
       <dataset-id>BMC.ASSET</dataset-id>
 <instance-info>
      <class-name-id>
        <namespace-name>BMC.CORE</namespace-name>
        <class-name>BMC_Account</class-name>
      </class-name-id>
      <attributes>
        <list>
          <name>SerialNumber</name>
          <value>
           <string-value>999</string-value>
          </value>
        </list>
        <list>
          <name>AttributeDataSourceList</name>
          <value>
            <string-value>attrdataSourceList</string-value>
          </value>
        </list>
        <list>
        <name>ClassId</name>
          <value>
            <string-value>BMC_ACCOUNT</string-value>
          </value>
        </list>
  <list>
          <name>ShortDescription</name>
          <value>
            <string-value>This is test description.</string-value>
          </value>
        </list>
        <list>
         <name>Name</name>
          <value>
            <string-value>TestClassInstance</string-value>
          </value>
        </list>
        <list>
          <name>Notes</name>
          <value>
            <diary-value>

              <diary-value-in>Test diary field.</diary-value-in>
            </diary-value>
          </value>
       </list>
      </attributes>
    </instance-info>
      </parameters>
  </item>
</items>


The following figure illustrates the adapter response for the Create CI Instance process.

Adapter response for the Create CI instance process

<bmc-atrium-cmdb-response>
  <item>
    <metadata>
      <status>Success or error</status>
      <error>Present only with status of 'error'</error>
    </metadata>
    <parameters>
      <instance-id>OI-D1D36E01259748B3A8D9A02914C22049</instance-id>
      <status>
        <value/>
      </status>
   </parameters>
  </item>
</bmc-atrium-cmdb-response> 
Was this page helpful? Yes No Submitting... Thank you

Comments