def get_ws_api_version
      # remove everything down to host:port
      host_url = @api_url.split('/api')
      @http.set_url(host_url[0])
      begin
        # get the api version
        response = @http.get('/api')
        response[1]
      rescue => ex
        Util.log_exception(ex, caller_locations(1, 1)[0].label)
        raise ex
      end
    ensure
      # reset the url
      @http.set_url(@api_url)
    end
def get_ws_api_version
      # remove everything down to host:port
      host_url = @api_url.split('/api')
      @http.set_url(host_url[0])
      begin
        # get the api version
        response = @http.get('/api')
        response[1]
      rescue => ex
        Util.log_exception(ex, caller_locations(1, 1)[0].label)
        raise ex
      end
    ensure
      # reset the url
      @http.set_url(@api_url)
    end
Get the 3PAR WS API version.

 ==== Returns

 WSAPI version hash