Update Instance process for v7.5

The Update Instance process updates instances within BMC Atrium CMDB of entity type Class Instance.

The following table describes the process inputs for the Update Instance process.

Process inputs - Update 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 to update for a specified record in BMC Atrium CMDB.

Yes

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

<items> XML sample for the Update Instance process

 <items>
  <item>
    <parameters>
      <username>Demo</username>
      <password> </password>
      <login-info>
        <locale />
        <time-zone />
        <authentication />
      </login-info>
      <instance-info>
        <class-name-id>
         <namespace-name>BMC.CORE</namespace-name>
          <class-name>BMC_Account</class-name>
        </class-name-id>
        <attributes>
          <items>
            <name>ShortDescription</name>
            <value>
              <string-value>This is the updated description.</string-value>
            </value>
         </items>
          <items>
            <name>SerialNumber</name>
            <value>
              <string-value>444</string-value>
            </value>
          </items>
        </attributes>
        <instance-id>OI-D1D36E01259748B3A8D9A02914C22049</instance-id>
      </instance-info>
      <dataset-id>BMC.ASSET</dataset-id>
       </parameters>
  </item>
</items>


The following figure illustrates the adapter response for the Update Instance process.

Adapter response for the Update Instance process

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

Comments