code: def DomainsGet(self, parameters = None, domain_id = -1):
          
          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
docs: 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.