Developer Documentation Library > Interviewer - Server > Reference > Sample Management Provider > Sample management result XML schema
 
Sample management result XML schema
All sample management functions return result XML. This always contains the interview properties XML so that changes to these properties are visible to the client. The results XML optionally returns InterviewPropeties and/or StationProperties. The StationProperties element is used for returning updates to extension details when remote extensions are used. The function name is held in the FunctionName attribute. Result codes, held in the ResultCode attribute, are described in .
Elements
SampleManagementResult Element
See also
Sample Management Provider
SampleManagementResult Element
The top level result element for sample management
Attributes for SampleManagementResult
FunctionName
Use: required
Valid values: string
ResultCode
Use: optional
Valid values: positiveInteger
XML representation
<xs:element name="SampleManagementResult">
  <xs:sequence>
    <xs:element name="InterviewProperties" minOccurs="0"/>
    <xs:element name="SampleRecord" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="StationProperties" minOccurs="0"/>
  </xs:sequence>
  <xs:attribute name="FunctionName" type="xs:string" use="required"/>
  <xs:attribute name="ResultCode" type="xs:positiveInteger" use="optional"/>
</xs:element>
Child elements
InterviewProperties element
SampleRecord element
StationProperties element
See also
Elements
InterviewProperties element
XML representation
<xs:element name="InterviewProperties" minOccurs="0"/>
Parent elements
SampleManagementResult Element
SampleRecord element
XML representation
<xs:element name="SampleRecord" minOccurs="0" maxOccurs="unbounded"/>
Parent elements
SampleManagementResult Element
StationProperties element
XML representation
<xs:element name="StationProperties" minOccurs="0"/>
Parent elements
SampleManagementResult Element