code: func (d *DNSProvider) getZone(parentID uint, name string) (uint, error) {
  	queryArgs := map[string]string{
  		"parentId": strconv.FormatUint(uint64(parentID), 10),
  		"name":     name,
  		"type":     zoneType,
  	}
  
  	resp, err := d.sendRequest(http.MethodGet, "getEntityByName", nil, queryArgs)
  
  	// Return an empty zone if the named zone doesn't exist
  	if resp != nil && resp.StatusCode == http.StatusNotFound {
  		return 0, fmt.Errorf("bluecat: could not find zone named %s", name)
  	}
  	if err != nil {
  		return 0, err
  	}
  	defer resp.Body.Close()
  
  	var zone entityResponse
  	err = json.NewDecoder(resp.Body).Decode(&zone)
  	if err != nil {
  		return 0, fmt.Errorf("bluecat: %v", err)
  	}
  
  	return zone.ID, nil
  }
docs: // Get the DNS zone with the specified name under the parentId