This is a sample Perl script that illustrates how to use the Web Services API to retrieve list of configured devices (in a particular department). In this case I am using SOAP::Lite module for sending/parsing SOAP encoded messages to the server, but other implementations can be used in similar manner (with appropriate syntax). 

In order to run this script, install SOAP::Lite module (perl -MCPAN -e 'install SOAP::Lite') and place the script under plugin/utils directory. Standard corporate disclaimer applicable.