Get the WebAPI version number
getWebApiVersion(baseUrl)
The base URL for the WebApi instance, for example: "http://server.org:80/WebAPI".
The WebApi versions as a string.
Obtains the WebAPI version number. This function is used to check that WebAPI baseUrl can be accessed and is a good first check to make sure you can access a WebAPI endpoint.
if (FALSE) {
getWebApiVersion("http://server.org:80/WebAPI")
}