This documentation supports the 9.1 to 9.1 Service Pack 3 version and its patches of BMC Atrium Core. The documentation for version 9.1.04 and its patches is available here.

To view the latest version, select the version from the Product version menu.

CreateInstance function

Creates a CI instance of the specified class.
If you create a diary attribute with a value (using DiaryValue ) as part of a new instance, the name, text, and timestamp of that diary entry are concatenated as a single string. The recommended method to avoid concatenating the diary entry is create the instance, get the instance, and then set the diary attribute value.

WSDL operation

<operation name="CreateInstance" parameterOrder="inargs">
	<input message="tns:CreateInstanceRequest"
	<output message="tns:CreateInstanceResponse"
	<fault message="tns:AtriumFault" name="AtriumFault"/>

WSDL messages

<message name="CreateInstanceRequest">
	<part element="types:CreateInstance" name="inargs"/>
<message name="CreateInstanceResponse">
	<part element="types:CreateInstanceOutput" name="outargs"/>
<message name="AtriumFault">
	<part element="common:AtriumFault" name="errargs"/>

XSD schema

<element name="CreateInstance">
			<element name="lang" type="string"/>
			<element name="datasetId"  type="string"/>
		<element name="instanceInfo" type="common:CreateInstanceInfoIn" />
		<element name="extensions" type="common:ExtensionsList"
			nillable="true" />
<element name="CreateInstanceOutput">
			<element name="instanceId" type="string"/>
			<element name="status" type="common:StatusList"/>
			<element name="extensions" type="common:ExtensionsList" 
				nillable="true" />
<element name="AtriumFault">
			<element name="serviceFault"
				type="tns:AtriumServiceFault" />
			<element name="backendFault"
				type="tns:AtriumBackendFault" />

Input arguments


The language of the product specific to the locale. If no language is specified, the default language is used.


The unique identifier for the dataset.


A list of instances. See SetInstanceInfoIn.


A list of extension types for the operation.


Return values


The unique identifier for the new attribute.


A list of zero or more notes, warnings, or errors generated from a call of this operation.


A list of extension types for the operation.


Fault message

Fault message

See Fault message


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