Back To Home

This Client Integration Guide provides the information required for a successful implementation of receiving and returning stacked/indexed/audited Loan Packages and order status using the CLIENT API integration.

This document is created, maintained, and distributed by Avanze Tech Labs Inc. to communicate the implementation requirements to their vendors. Avanze supports the contents included in the Provider Implementation Guide when the document originates from Avanze.

Client ID

Client will be sending the order request and other respective events with the following ClientID’s. Client should confirm that all CLIENT ClientID’s are configured in their appropriate environment.

UAT Environment

Client ID Client Name
XYZTEST123 XYZ

Production Environment

Will be share when we go live

Client will be ordering the following products through CLIENT. This product listing contains all possible products that Avanze will deliver through the CLIENT platform. Customers should refer to their specific subscription agreement with Avanze and configure the products that are subscribed for this implementation

Product Name
Current Owner
Update Search

Based on the search type client will be ordering through API. This search type listing contains two different search method that Avanze will deliver through the CLIENT platform.

Search Type
Address
BookAndPage
InstrumentNumber

HTTP Post

The HTTP Post Method may be implemented for the purpose of inbound event transmission. CLIENT can send files via HTTP and will receive a JSON Response informing them of the status of their submission. HTTP Posting can also be used as a delivery method for integration ABSTRACTNOW.

CLIENT may also choose to develop an HTTP Receiver of their own, in which they would receive via HTTP Post. Following URL will be used by CLIENT to post inbound events to AVANZE API which will route the events to ABSTRACTNOW application.

UAT URL:

http://apistage.direct2title.com/Abstractnow/organization/integration

PRODUCTION URL:

Will be share when we go live

Authorization through POST Parameters

OAuth 2.0 for authentication and authorization. The first step is to direct the user to the authorization endpoint supplying the query parameters described below

https://stage.avanzeapi.com/oauth2/token?grant_type=client_credentials&client_id=[YOUR ID]&client_secret=[YOUR SECRET]&scope=[YOUR SCOPE]

Client ID Abstractnow Admin
client_secret @bstr@ctnow_@dmin
scope abstractnow

The CLIENT sends a POST request with following body parameters to the authorization server:

      - grant_type with the value client_credentials

      - client_id with the client’s ID

      - client_secret with the client’s secret

      - scope with a space-delimited list of requested scope permissions.

The authorization server will respond with a JSON object containing the following properties:

      - token_type with the value Bearer

      - expires_in with an integer representing the TTL of the access token

      - access_token is the 32 bit hash Bearer Token used for authentication.

The access token is active for 15 minutes, up to a maximum of 120 minutes (2 hours). To avoid expiration, the access token must be used (by calling an API) at least once every 15 minutes. Active minutes and expiration duration are configurable based on the CLIENT requirements.

Event Code Event Name Event Originator CLIENT Sending CLIENT Receiving Event Definition
AT11 PlaceOrder CLIENT R CLIENT sends this event to initiate an order request to ABSTRACTNOW.
AT14 ProductDelivery ABSTRACTNOW R ABSTRACTNOW sends this event to CLIENT with the order documents with product data.
AT15 AddNotes Both O O CLIENT and/or ABSTRACTNOW send this event to provide a note on an order request.
AT30 GetStatus CLIENT R The Client sends this event to the ABSTRACTNOW to get the current status of the order.
AT31 OrderStatus ABSTRACTNOW R The ABSTRACTNOW sends this event to the CLIENT to notify the current status of the order.
AT50 CompleteOrder ABSTRACTNOW R The ABSTRACTNOW sends this event to the CLIENT to notify the CLIENT that the order request is complete.

*Mandatory
      R - Required Events that will occur on all Orders.
      O - Optional Events that if they occur on an Order, ABSTRACTNOW is required to support.

CLIENT has documented the workflow process they require of their ABSTRACTNOWs which includes the ordering and completion of products.

ABSTRACT NOW Client Integration Guide - XYZ

Order Placement
      1. CLIENT will create the Order Requests (CLIENT API Event AT11)
      2. CLIENTAPI will route the orders to ABSTRACTNOW and return back the response to CLIENT with ACK.

Order Process
      3. When the order is complete, ABSTRACTNOW will upload the documents using Document Delivered by ABSTRACTNOW with product data (CLIENTAPI Event AT14).

Completion of Order
      4. Upon completion of the order, ABSTRACTNOW will send Order Completed (CLIENTAPI Event AT50) to the order to indicate the order is complete.

General Use Events
      5. The Client sends this event to the ABSTRACTNOW to get the current status of the order (CLIENTAPI Event AT30) event.
      6. The ABSTRACTNOW sends this event to the CLIENT to notify the current status of the order (CLIENTAPI Event AT31) event

Field Name R/O Description
Header
Created R Request created date time (2021-06-10T14:18:42+00:00 (W3C))
SourceApp R Name of Source application
SourceVer R Application version
SourceEnv R Source application environment. Eg: UAT/DEV/PROD
ClientID R ClientID (mentioned under purpose section)
EventCode R Requested Event Code. Eg: AT11
EventName R Name of the event. Eg: PlaceOrder
CorrelationIdentifier R Unique number/Hash for the event
Field Name R/O Description
Transaction
TransactionID R Order number of the client application
Comments R Comments
Priority R Priority of Transaction (HIGH, MEDIUM, LOW)
ParcelNumber R Parcel Number
SearchType R Search type for the transaction (Address/ BookAndPage/ InstrumentNumber)
ProductType R Product type of the transaction (Current Owner/ Update Search)
InstrumentNumber R Instrument Number
BookNumber R Book Number
PageNumber R Page Number
StartDate R Starting Date of the transaction (eg. MM/DD/YYYY)
Property
Address1 R Property Address line 1
Address2 O Property Address line 2
State R Property State Code
County R Property County
City R Property City
Zipcode R Property Zip Code
BorrowerList > Borrowers
FirstName R Borrower First Name
MiddleName R Borrower Middle Name
LastName O Borrower Last Name
IndividualStartDate R Individual Start Date (eg. MM/DD/YYYY)
CompanyList > Company
Name R Company Name
CompanyStartDate R Company Start Date (eg. MM/DD/YYYY)
Field Name R/O Description
Transaction
TransactionID R Order number of the client application
Comments R Comments
OrderNumber R Order number of the AbstractNow application
FileSource R Source of the file (e.g. S3,Link,Base64,SFTP)
FileType R Type of the file (e.g. PDF)
DocumentList > Document
FileName R Name of the file
FilePath O Path of the file
FileSize R Size of the file
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="8e021651285f2eefbb0793380094adf8"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="18c5f5611c8cbe0c127138a3cf5ee3d5"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="78d04270f7a003665c09222ce4d8fd80"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="497f731c19e131d68ffbec415ff91b77"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="7d0bc8889d4ce395ed0c5da995b85ded"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="8fd9949427262b735bb5a9e3559ea59f"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="82e6c4afda062f811ce74e4e1e833036"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="777de290ad314367d74108fabfe00339"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="237af87941010715a61f8a51bc2cd006"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="45db6749231fb77c94b66b83d320dfbe"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="cbf6a3a31897e85694f76ba436c12f4b"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="28b95562f46646a7c2e637d62368b47c"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
Field Name R/O Description
Transaction
TransactionID R Order number of the client application
Comments R Comments
OrderNumber R Order number of the STACX application
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="6d7926b4137f982bec33e5392f03255d"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="664178277f60f6e162e593566f275a6d"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
Field Name R/O Description
Transaction
TransactionID R Order number of the client application
Comments R Comments
OrderNumber R Order number of the AbstractNow application
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="411944129bf41c599361b82c7e2222f9"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="5efbc02acf94b07bbdbb7fcb5e0fc26e"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
Field Name R/O Description
Transaction
TransactionID R Order number of the client application
OrderStatus R Current status of an order
OrderNumber R Order number of the AbstractNow application
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="b22f115128988e7712594abb671a1edd"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="5972dbd0cf3e5b7fb4b09fcffa6ee6a6"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
Field Name R/O Description
Transaction
TransactionID R Order number of the client application
Comments R Comments
OrderNumber R Order number of the AbstractNow application
Status R Current status of an ordern
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="efb864e2e4f0d54851d403327ce54e33"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="615470f0c30de546c3ebd83183e11115"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
Field Name R/O Description
Header
Created R Request created date time (2021-06-10T14:18:42+00:00 (W3C))
SourceApp R Name of the application
SourceVer R Application version
SourceEnv R Source application environment. Eg: UAT/DEV/PROD
Status R ACK
Transaction
TransactionID R Order number of the sclient application
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="2de82875d1852d238775e971aced26a1"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="19e90549bc447b9c3465a8e5f3a41db1"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
Field Name R/O Description
Header
Created R Request created date time (2021-06-10T14:18:42+00:00 (W3C)
SourceApp R Name of the application
SourceVer R Application version
SourceEnv R Source application environment. Eg: UAT/DEV/PROD
Status R NACK
Transaction
TransactionID R Order number of the client application
Errors
Type R Type of error received
Description R Describes about the error
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="853f018854da11f4db4dd597e8006ccf"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="http://apistage.direct2title.com/assets/assets/icons/A-LOGO.png"> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <!-- build:css /css/main.css --> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/css/forms/default-forms.css"> <link rel="stylesheet" type="text/css" href="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot"); src: url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("http://apistage.direct2title.com/assets/fonts/Simple-Line-Icons.svg#simple-line-icons") format("svg"); font-weight: normal; font-style: normal } .btn.btn-primary.btn-rounded, .btn.btn-primary.dropdown-toggle.btn-rounded { border-radius: 5px !important; } .login.sample-form-2 .btn { margin-bottom: 0px !important; } .btn.btn-primary.dropdown-toggle.focus, .btn.btn-primary.dropdown-toggle:active, .btn.btn-primary.dropdown-toggle:focus, .btn.btn-primary.dropdown-toggle:hover, .btn.btn-primary.dropdown-toggle:visited, .btn.btn-primary.focus, .btn.btn-primary:active, .btn.btn-primary:focus, .btn.btn-primary:hover, .btn.btn-primary:visited, .btn.btn-primary{ color: #fff !important; background: #1a237e !important; border-color: #1a237e !important; } .form-control{ font-size: 12px !important; } .logo .title { text-transform: uppercase; font-size: 18px; font-weight: 700; margin-left: 40px; } #error{ color: red; height: 0px; } .error{ font-size: 10px !important; } </style> </head> <body id="pages-login" data-layout="empty-view-1" data-background="light"> <div class="bg-dark"></div> <div class="container-fluid"> <div class="row"> <div class="col"> <!-- pages/login --> <div class="sample-form-2 login"> <div class="side-bg-1"></div> <div class="side-bg-2 bg-danger"></div> <div class="side-description"> <div class="logo"> <span class="title">AVANZE API</span> </div> <p style="text-align: center;">Application Programming Interface</p> <div class="form-group"> <a target="_blank" href="http://apistage.direct2title.com/docs" class="btn btn-sm btn-primary" style="width: 100%"> API Docs </a> </div> <div class="links"> <p> Don't have account? <a href="http://apistage.direct2title.com/login/signup" style="color: white;"> Sign Up Now </a> <!-- To download the help document @author:Madusuthanan P <madusuthanan.p@avanzegroup.com> @since 07/27/2021 --> &nbsp;&nbsp;<a href="http://apistage.direct2title.com/login/Help_Doc_Download" style="color: white; font-size: 12px; text-decoration: underline;"> Help </a> </p> </div> </div> <form id="LoginForm"> <div class="form-description"> <h3>Login</h3> <p>Please enter the Email and Password to login.</p> </div> <!-- @purpose %%CSRF Token specified in $config['csrf_token_name']%% @since May 29th 2021 @author venkadesh P <venkadesh.p@avanzegroup.com> --> <input type="hidden" class="txt_csrfname" name="csrf_titleapi" value="27de157f9b9cb957e591b058f09d8341"> <div class="form-group"> <label>Your email</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-envelope"></i> </span> <input type="email" class="form-control" id="useremail" name="useremail" placeholder="Email"> </div> <span id="error"></span> </div> <div class="form-group"> <label>Your password</label> <div class="input-group"> <span class="input-group-addon"> <i class="sli-lock"></i> </span> <input type="password" class="form-control" id="password" name="password" maxlength="25" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> <span id="error"></span> </div> <!-- <div class="form-group"> <label class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input"> <span class="custom-control-indicator"></span> <span class="custom-control-description">Remember me</span> </label> </div> --> <div class="divError"> </div> <div class="form-group"> <button class="btn btn-sm btn-primary" id="Signin" type="submit">Sign In</button> </div> <div class="links"> <p>Forgot Password ? <a href="http://apistage.direct2title.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="http://apistage.direct2title.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/forms/validation.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/plugins/jquery.validate.min.js"></script> <script src="http://apistage.direct2title.com/assets/scripts/functions.js"></script> <script src="http://apistage.direct2title.com/assets/bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $.validator.addMethod("password", function( value, element ) { return this.optional( element ) || value.match(/[A-Z]/ )&&(value.match(/[0-9]/))&& (value.match(/[a-z]/) && (value.match(/[~`!@#$%^&*()_=\[\]{};':"\\|,.<>\/?+-]/))); },'Password must have at least one Uppercase, lowercase, any numeric and special character.'); $('#LoginForm').validate({ rules: { useremail: { required: true, email: true }, password: { required:true, minlength:"12", maxlength:"25", password:true } }, messages: { useremail: { email: "Your email address must be in the format of name@domain.com" }, password:{ required:"Enter Password" } }, errorPlacement : function(error, element) { $(element).closest('.form-group').find('#error').html(error.insertAfter(element)); }, submitHandler: function(form) { var useremail = $('#useremail').val(); var password = $('#password').val(); /* CSRF token block @author: Venadesh P @since: 27 May 2021 */ var csrfName = $('.txt_csrfname').attr('name'); // Value specified in $config['csrf_token_name'] var csrfHash = $('.txt_csrfname').val(); // CSRF hash $.ajax({ url:"http://apistage.direct2title.com/login/CheckLogin", cache:false, type:'POST', dataType:'json', data:{UserEmail:useremail,Password:password,[csrfName]: csrfHash}, beforeSend:function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Authenticating..."); }, success: function(data) { if(data.validation_error == 6) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); toastr.success(data.message); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } else if(data.validation_error == 7) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); //toastr.success(); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/authenticationpage/"+data.UserUID); }, 2000); } else if(data.validation_error == 2) { swal({ title: 'Reset Password', text: data['message'], type: 'success', confirmButtonColor: '#3085d6', confirmButtonText: 'ok', closeOnConfirm: true, backdrop:true, allowOutsideClick: false, }, function() { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/login/forcereset/"+data.UserUID); }, 2000); }); } else if(data.validation_error == 1) { $('#Signin').attr('disabled',false); $('#Signin').html('Submit'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); } else if(data.validation_error == 0) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 3) { $('#Signin').attr('disabled',false); $('#Signin').html('Sign in'); toastr.options = { iconClass: '', positionClass: 'toast-top-right' }; toastr.error(data.message); $('#password').val(''); } else if(data.validation_error == 4) { $('#Signin').attr('disabled',true); $('button#Signin').html("<span class='fa fa-spinner fa-spin'></span> Redirecting..."); setTimeout(function(){ window.location.replace("http://apistage.direct2title.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }, }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>