listLMPools

Lists the pools for a given customer.

Parameters:

Field
Type
Required Description
sessionid String yes The sessionid returned by loginLMLicensee()
licensee String yes The company code (not the company name) for the Licensee.
customer String yes The company code (not the company name) for the Customer.


Return values: A PoolListReturn structure:

Field
Type
Description
fault FaultData If an error has occurred on the server, this will contain information about the error. This field will be null if no error occurred.
pools Array of PoolInfo A list of pool information, one row per pool.

PoolInfo

Field
Type
Description
name String The pool name. If the pool does not have a name, the value will be "Pool ##" where ## is the pool number.
status PoolStatusType The current status of the pool – Pending, Active or Expired.

Example:

NitroAdminAccessServiceLocator service = new NitroAdminAccessServiceLocator();
NitroAdminAccess server = service.getNitroAdminAccess();
PoolListReturn list = server.listLMPools(sessionid, "smith", "testcust");
if (list.getFault()!=null) {
	System.err.println("Error: " + list.getFault().getFaultString());
	return;
}
if (list!=null && list.getPools()!=null) {
        PoolInfo rec;
        for (int i=0; i<list.getPools().length; i++) {
                rec = list.getPools(i);
                // report on contents of pool data
        }
}
Comments