public AIA.Life.Models.Policy.Policy LoadPolicyPreviousInsuranceGrid(AIA.Life.Models.Policy.Policy objpolicy)
 {
     #region Call API
     objpolicy = WebApiLogic.GetPostComplexTypeToAPI<AIA.Life.Models.Policy.Policy>(objpolicy, "LoadPolicyPreviousInsuranceGrid", "Policy");
     #endregion
     return objpolicy;
 }
 public AIA.Life.Models.Policy.Policy SendMedicalLetterMail(AIA.Life.Models.Policy.Policy objpolicy)
 {
     #region Call API
     objpolicy = WebApiLogic.GetPostComplexTypeToAPI<AIA.Life.Models.Policy.Policy>(objpolicy, "SendMedicalLetterMail", "Policy");
     #endregion
     return objpolicy;
 }
 public AIA.Life.Models.Policy.Policy AssuredMemberDetails(AIA.Life.Models.Policy.Policy objpolicy)
 {
     #region Call API
     objpolicy = WebApiLogic.GetPostComplexTypeToAPI<AIA.Life.Models.Policy.Policy>(objpolicy, "AssuredMemberDetails", "Policy");
     #endregion
     return objpolicy;
 }
 public AIA.Life.Models.Policy.Policy ResidentialStatusQuestions(AIA.Life.Models.Policy.Policy objpolicy)
 {
     #region Call API
     objpolicy = WebApiLogic.GetPostComplexTypeToAPI<AIA.Life.Models.Policy.Policy>(objpolicy, "ResidentialStatusQuestions", "Policy");
     #endregion
     return objpolicy;
 }
Exemple #5
0
 public AIA.Life.Models.Policy.Policy SaveProposal(AIA.Life.Models.Policy.Policy objpolicy)
 {
     //string objPolicyProposal = Newtonsoft.Json.JsonConvert.SerializeObject(objpolicy);
     AIA.Life.Business.Policy.PolicyBusiness obj = new AIA.Life.Business.Policy.PolicyBusiness();
     objpolicy = obj.SaveProposal(objpolicy);
     return(objpolicy);
 }
 public AIA.Life.Models.Policy.Policy SMSNotificationOnUWDecision(AIA.Life.Models.Policy.Policy objPolicy)
 {
     #region Call API
     objPolicy = WebApiLogic.GetPostComplexTypeToAPI<AIA.Life.Models.Policy.Policy>(objPolicy, "SMSNotificationOnUWDecision", "Policy");
     #endregion
     return objPolicy;
 }
 public AIA.Life.Models.Policy.Policy SubmitPolicyDocuments(AIA.Life.Models.Policy.Policy objpolicy)
 {
     #region Call API
     objpolicy = WebApiLogic.GetPostComplexTypeToAPI<AIA.Life.Models.Policy.Policy>(objpolicy, "SubmitPolicyDocuments", "Policy");
     #endregion
     return objpolicy;
 }
 public AIA.Life.Models.Policy.Policy SaveLoadingDetails(AIA.Life.Models.Policy.Policy objPolicy)
 {
     #region Call API
     objPolicy = WebApiLogic.GetPostComplexTypeToAPI<AIA.Life.Models.Policy.Policy>(objPolicy, "SaveLoadingDetails", "Policy");
     #endregion
     return objPolicy;
 }
 public AIA.Life.Models.Policy.Policy CounterOfferSubmit(AIA.Life.Models.Policy.Policy objpolicy)
 {
     #region Call API
     objpolicy = WebApiLogic.GetPostComplexTypeToAPI<AIA.Life.Models.Policy.Policy>(objpolicy, "CounterOfferSubmit", "Policy");
     #endregion
     return objpolicy;
 }
Exemple #10
0
 public AIA.Life.Models.Policy.Policy OccupationQuestions(AIA.Life.Models.Policy.Policy objpolicy)
 {
     #region Call API
     objpolicy = WebApiLogic.GetPostComplexTypeToAPI<AIA.Life.Models.Policy.Policy>(objpolicy, "OccupationQuestions", "Policy");
     #endregion
     return objpolicy;
 }
Exemple #11
0
 public AIA.Life.Models.Policy.Policy TestUWDeviation(AIA.Life.Models.Policy.Policy objpolicy)
 {
     #region Call API
     objpolicy = WebApiLogic.GetPostComplexTypeToAPI<AIA.Life.Models.Policy.Policy>(objpolicy, "TestUWDeviation", "Policy");
     #endregion
     return objpolicy;
 }
Exemple #12
0
 public AIA.Life.Models.Policy.Policy SaveUWRemarks(AIA.Life.Models.Policy.Policy objpolicy)
 {
     #region Call API
     objpolicy = WebApiLogic.GetPostComplexTypeToAPI<AIA.Life.Models.Policy.Policy>(objpolicy, "SaveUWRemarks", "Policy");
     #endregion
     return objpolicy;
 }
Exemple #13
0
 public AIA.Life.Models.Policy.Policy LoadMasters(AIA.Life.Models.Policy.Policy objpolicy)
 {
     #region Call API
     objpolicy = WebApiLogic.GetPostComplexTypeToAPI<AIA.Life.Models.Policy.Policy>(objpolicy, "LoadMasters", "Policy");
     #endregion
     return objpolicy;
 }
Exemple #14
0
 public Models.Policy.Policy InvokeILModifyProposal(AIA.Life.Models.Policy.Policy objPolicy)
 {
     #region Call API
     //objPolicy=WebApiLogic.GetPostComplexTypeToAPI<AIA.Life.Models.Policy.Policy>(objPolicy, "InvokeILModifyProposal", "Policy");
     WebApiLogic.FireForgetAPI(objPolicy, "InvokeILModifyProposal", "Policy");
     #endregion
     return objPolicy;
 }
Exemple #15
0
        public AIA.Life.Models.Policy.Policy CalculateLoadingPremium(AIA.Life.Models.Policy.Policy objPolicy)
        {

            #region Call API
            objPolicy = WebApiLogic.GetPostComplexTypeToAPI<AIA.Life.Models.Policy.Policy>(objPolicy, "CalculateLoadingPremium", "Policy");
            #endregion
            return objPolicy;
        }
Exemple #16
0
        public AIA.Life.Models.Policy.Policy LoadProposalBenefits(AIA.Life.Models.Policy.Policy objPolicy)
        {
            #region Call API
            objPolicy = WebApiLogic.GetPostComplexTypeToAPI<AIA.Life.Models.Policy.Policy>(objPolicy, "LoadProposalBenefitsPolicy", "Policy");
            #endregion
            return objPolicy;

        }
Exemple #17
0
        //public AIA.Life.Models.Policy.Policy CalculateProposalPremium(AIA.Life.Models.Policy.Policy objLifeQuote)
        //{
        //    AIA.Life.Integration.Services.Policy.PolicyIntegration objPolicyIntegration = new Integration.Services.Policy.PolicyIntegration();
        //    //  objLifeQuote = objPolicyIntegration.CalculateProposalPremium(objLifeQuote);
        //    return objLifeQuote;
        //}

        public AIA.Life.Models.Policy.Policy FetchProposalInfo(AIA.Life.Models.Policy.Policy objpolicy)
        {
            #region Call API
            objpolicy = WebApiLogic.GetPostComplexTypeToAPI<AIA.Life.Models.Policy.Policy>(objpolicy, "FetchProposalInfo", "Policy");

            #endregion
            return objpolicy;
        }
Exemple #18
0
        public AIA.Life.Models.Policy.Policy LoadProposalReAllocateData(Policy objPolicyData)
        {
            AIA.Life.Models.Policy.Policy objPolicy = new AIA.Life.Models.Policy.Policy();

            AIA.Life.Business.Quote.QuoteBusiness objQuoteBusiness = new AIA.Life.Business.Quote.QuoteBusiness();
            objPolicy = objQuoteBusiness.LoadProposalReAllocate(objPolicyData);
            return(objPolicy);
        }
Exemple #19
0
        public AIA.Life.Models.Policy.Policy LoadSubmittedProposalsData(Policy objPolicyData)
        {
            AIA.Life.Models.Policy.Policy objPolicy = new AIA.Life.Models.Policy.Policy();

            AIA.Life.Business.Quote.QuoteBusiness objQuoteBusiness = new AIA.Life.Business.Quote.QuoteBusiness();
            objPolicy = objQuoteBusiness.LoadSubmittedProposals(objPolicyData);
            return(objPolicy);
        }
Exemple #20
0
        public AIA.Life.Models.Policy.Policy LoadPendingRequirementsData(Policy objPolicyData)
        {
            AIA.Life.Models.Policy.Policy objPolicy = new AIA.Life.Models.Policy.Policy();

            AIA.Life.Business.Quote.QuoteBusiness objQuoteBusiness = new AIA.Life.Business.Quote.QuoteBusiness();
            objPolicy = objQuoteBusiness.LoadPendingRequirements(objPolicyData);
            return(objPolicy);
        }
Exemple #21
0
 public AIA.Life.Models.Policy.Policy LoadSuspectReAllocation(AIA.Life.Models.Policy.Policy objPolicy)
 {
     AIA.Life.Models.Policy.Policy objPolicySuspectReAllocation = new Models.Policy.Policy();
     #region Call API
     objPolicySuspectReAllocation = WebApiLogic.GetPostComplexTypeToAPI <AIA.Life.Models.Policy.Policy>(objPolicySuspectReAllocation, "LoadSuspectReAllocation", "Policy");
     #endregion
     return(objPolicySuspectReAllocation);
 }
Exemple #22
0
 public AIA.Life.Models.Policy.Policy LoadProspectReAllocate(AIA.Life.Models.Policy.Policy objPolicy)
 {
     AIA.Life.Models.Policy.Policy objProspectReAllocate = new Models.Policy.Policy();
     #region Call API
     objProspectReAllocate = WebApiLogic.GetPostComplexTypeToAPI <AIA.Life.Models.Policy.Policy>(objProspectReAllocate, "LoadProspectReAllocate", "Policy");
     #endregion
     return(objProspectReAllocate);
 }
Exemple #23
0
 public AIA.Life.Models.Policy.Policy LoadProspectList(AIA.Life.Models.Policy.Policy objPolicy)
 {
     AIA.Life.Models.Policy.Policy objPolicyProspectList = new Models.Policy.Policy();
     #region Call API
     objPolicyProspectList = WebApiLogic.GetPostComplexTypeToAPI <AIA.Life.Models.Policy.Policy>(objPolicyProspectList, "LoadProspectList", "Policy");
     #endregion
     return(objPolicyProspectList);
 }
Exemple #24
0
 //Code-Suspect Pool, Quotation Pool, SuspectReAllocation etc
 public AIA.Life.Models.Policy.Policy LoadSuspectPool(AIA.Life.Models.Policy.Policy objPolicy)
 {
     AIA.Life.Models.Policy.Policy objPolicySuspect = new Models.Policy.Policy();
     #region Call API
     objPolicySuspect = WebApiLogic.GetPostComplexTypeToAPI <AIA.Life.Models.Policy.Policy>(objPolicySuspect, "LoadSuspectPool", "Policy");
     #endregion
     return(objPolicySuspect);
 }
Exemple #25
0
        public AIA.Life.Models.Policy.Policy SaveProposal(AIA.Life.Models.Policy.Policy objpolicy)
        {
            #region Call API
            objpolicy = WebApiLogic.GetPostComplexTypeToAPI<AIA.Life.Models.Policy.Policy>(objpolicy, "SaveProposal", "Policy");
            #endregion

            //upload documents to LDMS asynchronously
            WebApiLogic.FireForgetAPI(objpolicy, "UploadLdmsDocuments", "Policy");

            return objpolicy;
        }
Exemple #26
0
        public AIA.Life.Models.Policy.Policy LoadProposalInfo(AIA.Life.Models.Policy.Policy objpolicy)
        {
            TpServiceLog tpServiceLog = new TpServiceLog();

            tpServiceLog.ServiceRequest = Newtonsoft.Json.JsonConvert.SerializeObject(objpolicy);
            TransactLog transactLog = new TransactLog();

            transactLog.SerivceTraceID = tpServiceLog.ServiceTraceID = objpolicy.ServiceTraceID;
            transactLog.UserName       = objpolicy.UserName;
            string Message = ValidateUserAuth(transactLog);

            if (Message != "" && Message != null)
            {
                objpolicy.Message = Message;
                return(objpolicy);
            }
            AIA.Life.Business.Policy.PolicyBusiness objPolicyBusiness = new AIA.Life.Business.Policy.PolicyBusiness();
            objpolicy = objPolicyBusiness.LoadProposalInfo(objpolicy);
            objPolicyBusiness.InvokeILWorkFlowAck(objpolicy);

            tpServiceLog.ServiceResponse = Newtonsoft.Json.JsonConvert.SerializeObject(objpolicy);
            commonBusiness.CreateServiceLog(tpServiceLog);
            return(objpolicy);
        }
Exemple #27
0
 public AIA.Life.Models.Policy.Policy LoadProposalBenefits(AIA.Life.Models.Policy.Policy objProposal)
 {
     AIA.Life.Business.Quote.QuoteBusiness objQuoteBusiness = new AIA.Life.Business.Quote.QuoteBusiness();
     return(objQuoteBusiness.LoadProposalBenefits(objProposal));
 }
Exemple #28
0
 public AIA.Life.Models.Policy.Policy LoadMastersForProposalDetails(AIA.Life.Models.Policy.Policy objProposal)
 {
     AIA.Life.Business.Quote.QuoteBusiness objQuoteBusiness = new AIA.Life.Business.Quote.QuoteBusiness();
     return(objQuoteBusiness.LoadMastersForProposalDetails(objProposal));
 }
Exemple #29
0
 public AIA.Life.Models.Policy.Policy BenefitDetails(AIA.Life.Models.Policy.Policy objpolicy)
 {
     AIA.Life.Business.Policy.PolicyBusiness obj = new AIA.Life.Business.Policy.PolicyBusiness();
     objpolicy = obj.BenefitDetails(objpolicy);
     return(objpolicy);
 }
Exemple #30
0
 public AIA.Life.Models.Policy.Policy AssuredMemberDetails(AIA.Life.Models.Policy.Policy objpolicy)
 {
     AIA.Life.Business.Policy.PolicyBusiness obj = new AIA.Life.Business.Policy.PolicyBusiness();
     objpolicy = obj.AssuredMemberDetails(objpolicy);
     return(objpolicy);
 }