Request TextValues
functionID = 17
Using this function you can request one or multiple TextValues.
You should send the following to the server:
<softrulestcpframe>
<softrules>
<header>
<functionid>17</functionid>
<datasetid>1</datasetid>
<configid>2700</configid>
<inadapter>AFD</inadapter>
<outadapter>AFD</outadapter>
<parameters>
<parameter>
<name>TextValuesID</name>
<value>8</value>
</parameter>
</parameters>
</header>
<xmldocument></xmldocument>
</softrules>
</softrulestcpframe>
When TextValueID = -1 all TextValues will be returned. Otherwise the TextValue with the given ID will be returned.
Send this to the SoftRules® Server using the following command:
string TextValuesXml = SendXML(<xml>, TCPPort);
Response:
<TextValues>
<TextValue ID="8">
<Description>Incassowijze</Description>
<Name>ADNINC</Name>
<Items>
<Item>
<Value>A</Value>
<Text>Acceptgiro</Text>
<ImageUrl/>
</Item>
<Item>
<Value>C</Value>
<Text>Contant</Text>
<ImageUrl/>
</Item>
<Item>
<Value>D</Value>
<Text>Depotbetaling</Text>
<ImageUrl/>
</Item>
<Item>
<Value>I</Value>
<Text>Incasso, automatisch</Text>
<ImageUrl/>
</Item>
<Item>
<Value>K</Value>
<Text>Storting</Text>
<ImageUrl/>
</Item>
<Item>
<Value>P</Value>
<Text>Periodieke overschrijving</Text>
<ImageUrl/>
</Item>
<Item>
<Value>R</Value>
<Text>Rekening Courant</Text>
<ImageUrl/>
</Item>
<Item>
<Value>S</Value>
<Text>Inhouding via Salaris</Text>
<ImageUrl/>
</Item>
<Item>
<Value>Z</Value>
<Text>Overig</Text>
<ImageUrl/>
</Item>
<Item>
<Value>B</Value>
<Text>Digitale nota, -acceptgiro via de bank</Text>
<ImageUrl/>
</Item>
<Item>
<Value>E</Value>
<Text>Digitale nota, -acceptgiro via e-mail</Text>
<ImageUrl/>
</Item>
<Item>
<Value>N</Value>
<Text>Nota</Text>
<ImageUrl/>
</Item>
<Item>
<Value>M</Value>
<Text>Nota per e-mail</Text>
<ImageUrl/>
</Item>
</Items>
<DateChanged>0</DateChanged>
</TextValue>
</TextValues>