string userName = "lo_user"; string password = "password"; AuthService authService = new AuthService(); string sTicket = authService.GetUserAuthTicket(userName, password); AppView appView = new AppView(); string sUrl = appView.GetViewDesktopUrl(sTicket); // Redirect user to "https://secure.mortgage.meridianlink.com/" + sUrl.
string userName = "lo_user"; string password = "password"; string customerCode = "pmlxxxx"; AuthService authService = new AuthService(); string sTicket = authService.GetPmlUserAuthTicket(userName, password, customerCode); AppView appView = new AppView(); string sLoanName = "xxxxx"; string sUrl = appView.GetPmlLoanUrl(sTicket, sLoanName); // Redirect user to "https://origination.mortgage.meridianlink.com/" + sUrl.
string userName = "lo_user"; string password = "password"; AuthService authService = new AuthService(); string sTicket = authService.GetUserAuthTicket(userName, password); Loan loanService = new Loan(); string sLNm = "xxxxx"; string sXmlQuery = GenerateConditionRequest(); // Should return content of SampleConditionsRequest.xml string ret = loanService.Load(sTicket, sLNm, sXmlQuery, 0); // Example return string SampleConditions.xmlTo add or modify conditions. Condition is identify by the description. If the condition text does not exists in the system then new condition will get create.
string userName = "lo_user"; string password = "password"; AuthService authService = new AuthService(); string sTicket = authService.GetUserAuthTicket(userName, password); Loan loanService = new Loan(); string sLNm = "xxxxx"; string sDataContent = GenerateConditions(); // Should return content of SampleConditions.xml string ret = loanService.Save(sTicket, sLNm, sDataContent, 0);
string userName = "lo_user"; string password = "password"; string customerCode = "pmlxxxx"; AuthService authService = new AuthService(); string sTicket = authService.GetPmlUserAuthTicket(userName, password, customerCode); Loan loanService = new Loan(); string sLNm = "xxxxx"; string sDataContent = GenerateData(); // Should return content of SamplePriceMyLoanSave.xml. Do not include comment. string ret = loanService.Save(sTicket, sLNm, sDataContent, 0);
string userName = "lo_user"; string password = "password"; string customerCode = "pmlxxxx"; AuthService authService = new AuthService(); string sTicket = authService.GetPmlUserAuthTicket(userName, password, customerCode); Loan loanService = new Loan(); string sLNm = "xxxxx"; string sXmlQuery = GenerateRequest(); // Should return content of SampleGetPmlCert.xml. string html = loanService.Load(sTicket, sLNm, sXmlQuery, 0); // Display html result in separate browser.
string userName = "lo_user"; string password = "password"; string customerCode = "pmlxxxx"; AuthService authService = new AuthService(); string sTicket = authService.GetPmlUserAuthTicket(userName, password, customerCode); Loan loanService = new Loan(); string sLNm = "xxxxx"; // The loan file must existed with all required information set in MeridianLink Mortgage. You can use the Save() method to initialize the data. string sXmlQuery = GenerateRequest(); // Should return content of SampleGetPricingResult.xml. string result = loanService.Load(sTicket, sLNm, sXmlQuery, 0); // The result will look like SamplePricingResult.xml // To process the pricing result you will need to retrieve InnerText of //LOXmlFormat/loan/field[@id='PricingResult'] and create an XmlDocument out of it.
string userName = "lo_user"; string password = "password"; string customerCode = "pmlxxxx"; AuthService authService = new AuthService(); string sTicket = authService.GetPmlUserAuthTicket(userName, password, customerCode); Loan loanService = new Loan(); // For full spec of sXmlData read LOQuickPricerFormat.xsd. string sXmlData = @"<loan sHouseValPe=""350000"" sLAmtCalcPe=""280000"" sLPurposeTPe=""1"" sProdFilterTerm30Yrs=""true"" sProdFilterTerm15Yrs=""true"" sProdFilterTerm20Yrs=""true"" sProdFilterTermOther=""true"" sProdFilterFinMeth3YrsArm=""true"" sProdFilterFinMeth5YrsArm=""true"" sProdFilterFinMeth7YrsArm=""true"" sProdFilterFinMeth10YrsArm=""true"" sProdFilterFinMethFixed=""true"" sProdIncludeNormalProc=""true"" sCreditScoreType1=""740"" sSpStatePe=""CA"" sSpCounty=""Los Angeles"" sProdRLckdDays=""30"" sSpZip=""90024"" sOccTPe=""0"" sProdSpT=""0"" sProdImpound=""false""sProdIncludeMyCommunityProc=""false"" sProdIncludeHomePossibleProc=""false"" sProdIsDuRefiPlus=""false"" sProdIncludeFHATotalProc=""true"" sProdIncludeVAProc=""true"" />"; string result = loanService.RunQuickPricer(sTicket, sXmlData); // The result will look like SampleQuickPricerResult.xml
string userName = "lo_user"; string password = "password"; string customerCode = "pmlxxxx"; AuthService authService = new AuthService(); string sTicket = authService.GetPmlUserAuthTicket(userName, password, customerCode); Loan loanService = new Loan(); string sLNm = "xxxxx"; string sXmlData = GenerateSaveDataRequest();// GenerateSaveDataRequest should return xml similar to SampleOrderNewCredit.xml string ret = loanService.Save(sTicket, sLNm, sXmlData, 0);For a list of the CRA and their id support by our API visit CraList.aspx
Loan loanService = new Loan(); string sLNm = "xxxxx"; string sXmlData = @"<LOXmlFormat version=""1.0""><loan><applicant><field id=""aCreditReportRawXml"" /></applicant></loan></LOXmlFormat>"; string ret = loanService.Load(sTicket, sLNm, sXmlData, 0);
string userName = "lo_user"; string password = "password"; string customerCode = "pmlxxxx"; AuthService authService = new AuthService(); string sTicket = authService.GetPmlUserAuthTicket(userName, password, customerCode); Loan loanService = new Loan(); string fannieMaeContent= LoadFannieMaeContentFromFile(fileName);//Load your fnma content here string sLNm = loanService.CreateWithFannieMaeFile(sTicket, fannieMaeContent); // Invoke API to either reissue or reissue credit report in our system. string sXmlData = GenerateSaveDataRequest();// GenerateSaveDataRequest should return xml similar to SampleOrderNewCredit.xml string ret = loanService.Save(sTicket, sLNm, sXmlData, 0); // Submit to TotalScorecard string responseXml = loanService.SubmitTotalScorecard(sTicket, sLNm); // Parse responseXml. If status is OK then retrieve TotalScore certificate. Otherwise display error string sXmlRequestCertificate=@"<LOXmlFormat version=""1.0""><loan><field id=""sTotalScoreCertificateHtml"" /></loan></LOXmlFormat>"; string certRet = loanService.Load(sTicket, sLNm, sXmlData, 0);
Last Revision: 8/30/2018. |