Request Packet Structure

A request XML packet retrieving available types of lists includes the get-allowed-lists operation node:

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

 

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

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-lists operation, and e-mail addresses of users specified by e-mail address (or 'admin' string) to the filter node of the second get-allowed-lists operation.

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