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.

CreateAttribute function

Creates a new attribute with the specified name.

WSDL operation

<operation name="CreateAttribute" parameterOrder="inargs">
<input message="tns:CreateAttributeRequest"
	name="CreateAttributeRequest"/>
<output message="tns:CreateAttributeResponse"
	name="CreateAttributeResponse"/>
<fault message="tns:AtriumFault" name="AtriumFault"/>
</operation>

WSDL messages

<message name="CreateAttributeRequest">
	<part element="types:CreateAttribute" name="inargs"/>
</message>
<message name="CreateAttributeResponse">
	<part element="common:StatusOutput" name="outargs"/>
</message>
<message name="AtriumFault">
	<part element="common:AtriumFault" name="errargs"/>
</message>

XSD schema

<element name="CreateAttribute">
	<complexType>
		<sequence>
			<element name="lang" type="string"/>
			<element name="classNameId" type="common:ClassNameId"/>
			<element name="attributeName" type="string"/>
			<element name="attributeId" type="string" 
				nillable="true" />
			<element name="fieldId" type="long" nillable="true" />
			<element name="attributeInfo"
				type="common:AttributeInfoIn"/>
			<element name="extensions" type="common:ExtensionsList"
				nillable="true" />
		</sequence>
	</complexType>
</element>
<element name="StatusOutput">
	<complexType>
		<sequence>
			<element name="status" type="impl:StatusList"/>
		</sequence>
	</complexType>
</element>
<element name="AtriumFault">
	<complexType>
		<choice>
			<element name="serviceFault"
				type="tns:AtriumServiceFault" />
			<element name="backendFault"
				type="tns:AtriumBackendFault" />
		</choice>
	</complexType>
</element>

Input arguments

lang

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

classNameId

The name of the class for which you want to create an attribute. It is a two-part structure that contains the namespace name and the class name. The name of the class must be unique to the namespace. See ClassNameId.

attributeName

The name of the attribute to create. The name of the attribute must be unique within the specified class and within its superclasses and subclasses.

attributeId

The ID of the attribute to create.

fieldId

The unique identifier for the field.

attributeInfo

See AttributeInfoIn.

extensions

A list of extension types for the operation.

 

Return values

status

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

 

Fault message

Fault message

See Fault message.

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

Comments