code: func GetOrgByName(c *m.ReqContext) Response {
  	query := m.GetOrgByNameQuery{Name: c.Params(":name")}
  	if err := bus.Dispatch(&query); err != nil {
  		if err == m.ErrOrgNotFound {
  			return Error(404, "Organization not found", err)
  		}
  
  		return Error(500, "Failed to get organization", err)
  	}
  	org := query.Result
  	result := m.OrgDetailsDTO{
  		Id:   org.Id,
  		Name: org.Name,
  		Address: m.Address{
  			Address1: org.Address1,
  			Address2: org.Address2,
  			City:     org.City,
  			ZipCode:  org.ZipCode,
  			State:    org.State,
  			Country:  org.Country,
  		},
  	}
  
  	return JSON(200, &result)
  }
docs: // Get /api/orgs/name/:name