Request Packet Structure

A request XML packet retrieving available Spam Filtering preferences includes the get-allowed-preferences operation node:

<packet version="1.4.2.0">
<spamfilter>
<get-allowed-preferences>
...  
</get-allowed-preferences>
</spamfilter>
</packet>

 

The get-allowed-preferences node is presented by the SpamFilterGetAllowedPreferencesInputType type (spamfilter.xsd), and its graphical representation is as follows:

AllowedPrefsRPS

Remarks

You can retrieve info on users specified by SpamAssassin ID, and users specified by e-mail address in a single packet. Add ID's of users specified by SpamAssassin ID to the filter node of the first get-allowed-preferences operation, and e-mail addresses of users specified by e-mail address (or 'admin' string) to the filter node of the second get-allowed-preferences operation.

<get-allowed-preferences>
<filter>
... 
</filter>
</get-allowed-preferences>
 
<get-allowed-preferences>
<filter>
... 
</filter>
</get-allowed-preferences>