set-instance operation for v7.5 and later

The set-instance operation updates specified values for a configuration item within BMC Atrium CMDB.

See Adapter request and response for the set-instance operation for v2.0 for the description of the request and response elements.

The following figure describes the adapter request for the set-instance operation.

XML sample of the adapter request for the set-instance operation

<bmc-atrium-cmdb-request>
    <username>admin</username>
    <password>****MASKED****</password>
    <generator-version>1.0</generator-version>
    <request>
      <service>
        <namespace>http://atrium.bmc.com/2009/01/instances</namespace>
        <name>atrium_instances</name>
      </service>
      <port>
        <namespace>http://atrium.bmc.com/2009/01/instances</namespace>
        <name>AtriumInstances_PortType_EP</name>
      </port>
      <operation-name>set-instance</operation-name>
      <parameters>
        <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>
            <list>
              <name>ShortDescription</name>
              <value>
                <string-value>Update operation is working fine</string-value>
              </value>
            </list>
            <list>
              <name>SerialNumber</name>
              <value>
                <string-value>Auto_444</string-value>
              </value>
            </list>
          </attributes>
          <instance-id>OI-b567b2b3143b4978a2a8c2c84771550e</instance-id>
        </instance-info>
        <dataset-id>BMC.ASSET</dataset-id>
      </parameters>
    </request>
  </bmc-atrium-cmdb-request>

The following figure illustrates the adapter response for the set-instance operation.

XML sample of the adapter response for the set-instance operation

<bmc-atrium-cmdb-response>
  <item>
    <metadata>
      <status>success</status>
    </metadata>
    <parameters>
      <output/>
     </parameters>
  </item>
</bmc-atrium-cmdb-response>
Was this page helpful? Yes No Submitting... Thank you

Comments