×
Menu
Index

Process XML and return Userinterface

Processing XML (XML In -> UI XML Out)

functionID = 16
 
This function accepts XML documents that follow the schema used by the Configuration, or follows the schema of the userinterface. In both cases the server will return a Userinterface XML document. The Userinterface XML generated is depending of the following parameters:
 
UserInterfaceID
 
The ID of the Userinterface
UserinterfaceVersion
 
The version number of the Userinterface; if omitted the actual version will be returned.
ConfigurationID
 
The ID of the Configuration that contains the Userinterface. When omitted the current Configuration will be returned.
 
You should send the following XML to the Server:
 
<softrulestcpframe>
    <softrules>
        <header>
            <functionid>16</functionid>
            <parameters>
                <parameter>
                    <name>UserInterfaceID</name>
                    <value>1</value>
                </parameter>
                <parameter>
                    <name>UserInterfaceVersion</name>
                    <value>1</value>
                </parameter>
                <parameter>
                    <name>ConfigurationID</name>
                    <value>75000</value>
                </parameter>
            </parameters>
        </header>
        <xmldocument>
        </xmldocument>
    </softrules>
</softrulestcpframe>
 
If a userinterface should be processed, the following fields are required.
 
Groups:
Questions:
 
Send this to the SoftRules® Server using the following command:
 
string UIXml = SendXML(<xml>, TCPPort);