public async Task <IEnumerable <Alert> > GetAlerts()
        {
            string url = String.Concat(DataConstants.Endpoint, DataConstants.AlertsURL);

            var response = await MakeSessionHttpCall <BaseResponse <AlertsResponse>, string>(url, HttpVerbMethod.Get, null)
                           .ConfigureAwait(false);

            if (response.HasError)
            {
                if (response.info != null && response.info.Count() > 0)
                {
                    response.Message = String.Join("\n", response.info.Select(x => x.message));
                }
                throw new ApiException()
                      {
                          Code  = response.status,
                          Error = response.Message
                      };
            }
            return(EmployeeMapper.MapAlertsResponse(response.data.ElementAt(0)));
        }