Whats the best way to determine the vRO servers version number... I am trying to account for differences in how things are running between 6 and 7. I found this example from burke but it is not working on version 7
var vROIP = Config.getNetworkInterfaces().getBindInterface();
var vROPort = Config.getNetworkInterfaces().getBindPort();
var getUrl = "https://"+vROIP+":"+vROPort+"/vco/api/about";
//get url
var urlObject = new URL(getUrl);
var aboutResult = urlObject.getContent() ;
// parse results
System.debug(aboutResult);
System.debug("============");
var aboutObj = JSON.parse(aboutResult);
System.debug("Version: "+aboutObj["version"]);
var version = aboutObj["version"];
System.debug("Build Number: "+aboutObj["build-number"]);
var build = aboutObj["build-number"];
System.debug("Build Date: "+aboutObj["build-date"]);
System.debug("API Version: "+aboutObj["api-version"]);
There does not seem to be a Config.getNetworkInterfaces method in 7.2