element <insertResponse> (global)
Namespace:
Type:
anonymous complexType
Content:
complex, 3 attributes, 1 element
Defined:
globally in hsdl.xsd; see XML source
Includes:
definitions of 1 attribute, 1 element
Used:
XML Representation Summary
<insertResponse
   
 = 
xsd:nonNegativeInteger
 = 
xsd:int
 = 
("success" | "failure" | "rollback" | "notAttempted" | "accessDenied")
   
>
   
Content: 
</insertResponse>
Content model elements (1):
newBlueId (type newBlueIdType)
Included in content model of elements (1):
updateBlockStatus (in updateResponse)
Known Usage Locations
Annotation
This element specifies the response to the <b>insertRequest</b>.
XML Source (see within schema source)
<xsd:element name="insertResponse">
<xsd:annotation>
<xsd:documentation>
This element specifies the response to the
<b>insertRequest</b>
.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="newBlueId" type="newBlueIdType">
<xsd:annotation>
<xsd:documentation>
This element exists once for each
<b>xdb:blue</b>
item that was successfully inserted.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="newChangeNumber" type="changeNumberType" use="optional">
<xsd:annotation>
<xsd:documentation>
This attribute returns the
<b>changeNumber</b>
resulting from the insert operation.
This attribute is not returned when contained within an
<b>updateResponse</b>
because
in that message, the root contains the
<b>changeNumber</b>
.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attributeGroup ref="standardResponseAttributeGroup"/>
</xsd:complexType>
</xsd:element>
Attribute Detail (all declarations; 3/3)
newChangeNumber
Type:
Use:
optional
Defined:
locally within (this) insertResponse element
This attribute returns the <b>changeNumber</b> resulting from the insert operation. This attribute is not returned when contained within an <b>updateResponse</b> because in that message, the root contains the <b>changeNumber</b>.
XML Source (see within schema source)
<xsd:attribute name="newChangeNumber" type="changeNumberType" use="optional">
<xsd:annotation>
<xsd:documentation>
This attribute returns the
<b>changeNumber</b>
resulting from the insert operation.
This attribute is not returned when contained within an
<b>updateResponse</b>
because
in that message, the root contains the
<b>changeNumber</b>
.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>

selectedNodeCount
Type:
Use:
optional
Defined:
XML Source (see within schema source)
<xsd:attribute name="selectedNodeCount" type="selectedNodeCountType" use="optional"/>

status
Type:
Use:
required
Defined:
This attribute indicates the status of the method. <dl> <dt>success</dt> <dd> The corresponding method was completed successfully. </dd> <dt>failure</dt> <dd> The corresponding method was not completed successfully. </dd> <dt>rollback</dt> <dd> The method failed, but was rolled back to its pre-<b>updateBlock</b> status. </dd> <dt>notAttempted</dt> <dd> The corresponding method was not attempted. This occurs when a previous operation failed. </dd> </dl>
XML Source (see within schema source)
<xsd:attribute name="status" type="responseStatus" use="required">
<xsd:annotation>
<xsd:documentation>
This attribute indicates the status of the method.
<dl>
<dt>success</dt>
<dd>
The corresponding method was completed successfully.
</dd>
<dt>failure</dt>
<dd>
The corresponding method was not completed successfully.
</dd>
<dt>rollback</dt>
<dd>
The method failed, but was rolled back to its
pre-
<b>updateBlock</b>
status.
</dd>
<dt>notAttempted</dt>
<dd>
The corresponding method was not attempted. This occurs when
a previous operation failed.
</dd>
</dl>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
Content Element Detail (all declarations; 1/1)
newBlueId
Type:
newBlueIdType, empty content
Defined:
locally within (this) insertResponse element
This element exists once for each <b>xdb:blue</b> item that was successfully inserted.
XML Source (see within schema source)
<xsd:element maxOccurs="unbounded" minOccurs="0" name="newBlueId" type="newBlueIdType">
<xsd:annotation>
<xsd:documentation>
This element exists once for each
<b>xdb:blue</b>
item that was successfully inserted.
</xsd:documentation>
</xsd:annotation>
</xsd:element>