code: func (d *DNSProvider) lookupViewID(viewName string) (uint, error) {
  	confID, err := d.lookupConfID()
  	if err != nil {
  		return 0, err
  	}
  
  	queryArgs := map[string]string{
  		"parentId": strconv.FormatUint(uint64(confID), 10),
  		"name":     viewName,
  		"type":     viewType,
  	}
  
  	resp, err := d.sendRequest(http.MethodGet, "getEntityByName", nil, queryArgs)
  	if err != nil {
  		return 0, err
  	}
  	defer resp.Body.Close()
  
  	var view entityResponse
  	err = json.NewDecoder(resp.Body).Decode(&view)
  	if err != nil {
  		return 0, fmt.Errorf("bluecat: %v", err)
  	}
  
  	return view.ID, nil
  }
docs: // Find the DNS view with the given name within