Delete Instance By InstanceId process for v7.5

The Delete Instance by InstanceId process deletes a CI or Relationship instance using an instance ID within BMC Atrium CMDB.

The following table describes the process input elements for the Delete Instance by InstanceId process.

Process inputs - Delete Instance By InstanceId 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 information used to delete a specific instance in BMC Atrium CMDB

Yes

The following figure shows a sample <items> XML for the Delete Instance By InstanceId process.

<items> XML sample for the Delete Instance By InstanceId process

 <items>
  <delete-criteria>InstanceId</delete-criteria>
  <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>
 <instance-id>OI-D1D36E01259748B3A8D9A02914C22049</instance-id>
      </instance-info>
      <delete-option>UNCONDITIONALLY</delete-option>
      <dataset-id>BMC.ASSET</dataset-id>
      </parameters>
  </item>
</items>


The following figure illustrates the adapter response for the Delete Instance By InstanceId process.

Adapter response for the Delete Instance By InstanceId 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