public async Task <T> GetWithUserAsync <T>(string UserName, string Method, string queryParam, bool IsIntegrated, bool IsAnonymous = false)
        {
            var token = await _authenticationClient.GetLegacyNotifEyeToken(UserName);

            string Path = string.Format("{0}{1}/{2}?{3}",
                                        ConfigurationManager.AppSettings["NotifEyeAPIEndpoint"], Method, token, queryParam);

            HttpResponseMessage response = await new HttpClient().GetAsync(Path);

            if (response.IsSuccessStatusCode)
            {
                try
                {
                    return((await response.Content.ReadAsAsync <APIResponse <T> >()).Result);
                }
                catch (Exception ex)
                {
                    var reason = (JsonConvert.DeserializeObject <APIResponse <string> >(await response.Content.ReadAsStringAsync())).Result;
                    throw PrepareHttpException(reason, response.StatusCode, Method);
                }
            }
            else
            {
                throw PrepareHttpException(response, Method);
            }
        }