def query_transaction_with_path(request, request_path)
      unless @is_valid
        return make_response_with_exception(Exceptions::APIKeyInvalidException.new('API key, password or Rapid endpoint missing or invalid'), QueryTransactionResponse)
      end
      begin
        if request.nil? || request == ''
          url = @web_url + request_path + '/' + '0'
        else
          url = @web_url + request_path + '/' + request
        end
        url = URI.encode(url)

        response = Message::TransactionProcess::TransQueryMsgProcess.process_post_msg(url, @api_key, @password, @version)
        Message::TransactionProcess::TransQueryMsgProcess.make_result(response)
      rescue => e
        @logger.error(e.to_s) if @logger
        make_response_with_exception(e, QueryTransactionResponse)
      end
    end
def query_transaction_with_path(request, request_path)
      unless @is_valid
        return make_response_with_exception(Exceptions::APIKeyInvalidException.new('API key, password or Rapid endpoint missing or invalid'), QueryTransactionResponse)
      end
      begin
        if request.nil? || request == ''
          url = @web_url + request_path + '/' + '0'
        else
          url = @web_url + request_path + '/' + request
        end
        url = URI.encode(url)

        response = Message::TransactionProcess::TransQueryMsgProcess.process_post_msg(url, @api_key, @password, @version)
        Message::TransactionProcess::TransQueryMsgProcess.make_result(response)
      rescue => e
        @logger.error(e.to_s) if @logger
        make_response_with_exception(e, QueryTransactionResponse)
      end
    end
Perform a transaction query with the given path

 @param [String] request the transaction identifier to query
 @param [String] request_path the path to use for the query
 @return [QueryTransactionResponse]