Request for a Userinterface
Opvragen userinterface
functionID = 13
<softrulestcpframe>
<softrules>
<header>
<functionid>13</functionid>
<parameters>
<parameter>
<name>UserInterfaceID</name>
<value>1</value>
</parameter>
<parameter>
<name>UserInterfaceVersion</name>
<value>1</value>
</parameter>
<parameter>
<name>ConfigurationID</name>
<value>1</value>
</parameter>
</parameters
</header>
<xmldocument>
<![CDATA[<Relatiedocument>
……
……
</ Relatiedocument >]]>
</xmldocument>
</softrules>
</softrulestcpframe>
●
|
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.
|
Send this to SoftRules® Server using:
string userinterfaceXml = SendXML(<xml>, TCPPort);
The server will return the following XML:
<softrulestcpframe>
<softrules>
<result>
<configuration>Vergelijking (6021)</configuration>
<function>getUserinterface (13)</function>
<messages/>
</result>
<xmldocument>
<![CDATA[<?xml version="1.0" encoding="utf-8"?>
<SoftRulesUserInterface>
<Questions>
<Question>
<Name>AL_VRWRKCD</Name>
<Description>Verwerkingscode</Description>
......
......
</Question>
</Questions>
<SoftRulesXML></SoftRulesXML>
<ConfigID>6021</ConfigID>
<UserInterfaceID>1</UserInterfaceID>
</SoftRulesUserInterface>
]]>
</xmldocument>
</softrules>
</softrulestcpframe>
Attention!
|
The XML document is in a CDATA section
|