changed getADAPSData to handle multiple entries in param availability