This documentation supports the 21.3 version of BMC Helix CMDB.

To view an earlier version, select the version from the Product version menu.

Example of using web services to create an instance of a CI

Allen Allbrook, the configuration manager with Calbro Services wants to create a CI having name MSWord belonging to the Product class. Allen needs to create the instance of the CI in the BMC_Product class where the datasetId is BMC.ADDM, and  the name attribute is MSWord.

<?xml version='1.0' encoding='utf-8'?>
    <soapenv:Envelope xmlns:soapenv="">
            <wsse:Security xmlns:wsse="">
                    <wsse:Password Type="">IN-AllenA-W1_b7647fee09ea44a</wsse:Password>
            <CreateInstance xmlns="">
                <loginInfo xmlns="" />
                <datasetId xmlns="">BMC.ADDM</datasetId>
                <instanceInfo xmlns="">
                <extensions xmlns="" />

The response is shown as follows:

<soapenv:Envelope xmlns:soapenv="" xmlns:xsi="">
      <typ:CreateInstanceOutput xmlns:typ="">
         <extensions xsi:nil="true"/>

Was this page helpful? Yes No Submitting... Thank you