This method returns the domains of the current user. 
            The list also contains the domains to which the users has not yet been accepted.
            
            @param parameters (dictonary) - Dictionary containing the parameters of the request.
                                    
            @return (bool) - Boolean indicating whether DomainsGet was successful.

def DomainsGet(self, parameters = None, domain_id = -1):
        """
            This method returns the domains of the current user. 
            The list also contains the domains to which the users has not yet been accepted.
            
            @param parameters (dictonary) - Dictionary containing the parameters of the request.
                                    
            @return (bool) - Boolean indicating whether DomainsGet was successful.
        """
        url = ''
        if parameters is None and domain_id <> -1:
            url = '/domains/{0}.json'.format(domain_id)
        else:
            url = '/domains.json'

        if self.__SenseApiCall__(url, 'GET', parameters = parameters):
            return True
        else:
            self.__error__ = "api call unsuccessful"
            return False