Steven
Maybe you can try executing the API through ZExplore...
I am pasting the code in Java that I get from ZExplore for options-list-info, this code has ONTAPI version as 1.15 as I had selected ONTAP 8.1, you can change that to the version number you are using
import java.io.IOException;
import java.net.UnknownHostException;
import java.util.List;
import netapp.manage.NaElement;
import netapp.manage.NaException;
import netapp.manage.NaServer;
public class ApiClient {
public static void main(String[] args) {
try {
NaServer s = new NaServer("<server name or IP address>", 1 , 15);
s.setServerType(NaServer.SERVER_TYPE_FILER);
s.setTransportType(NaServer.TRANSPORT_TYPE_HTTPS);
s.setPort(443);
s.setStyle(NaServer.STYLE_LOGIN_PASSWORD);
s.setAdminUser("<user name>", "<password>");
NaElement api = new NaElement("options-list-info");
NaElement xo = s.invokeElem(api);
System.out.println(xo.toPrettyString(""));
} catch (NaException e) {
handleException(e);
} catch (UnknownHostException e) {
handleException(e);
} catch (IOException e) {
handleException(e);
}
}
private static void handleException(Exception e) {
System.out.println(e.getMessage());
e.printStackTrace();
}
}