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/STACXs. 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.

Environment Client ID Client Name
UAT XYZTEST123 XYZ
PROD XYZPROD123 XYZ

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 Code Product Name
1 Post-Closing Review
2 Trailing Docs
3 Doc Classification & Extraction
4 Post-Closing Audit Only
5 Doc Classification Only

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 an XML Response informing them of the status of their submission. This is most frequently used in integrations for the posting. HTTP Posting can also be used as a delivery method for integration STACXs who choose to receive files via HTTP. HTTPS or SSL (Secure Sockets Layer) is the most common implementation of this method, due to SSL’s security benefits.

Integration Clients 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 integration to post inbound events to CLIENT API application which will route the events to CLIENT application.

Environment URL
UAT http://apistage.direct2title.com/module/organization/integration
PROD https://avanzeapi.com/module/organization/integration

Authorization through POST Parameters

Two parameters are required in order submit requests through HTTPs POST.
Username = [USER]

Password = [PASSWORD]

Username and password value used to authenticate incoming request. These values are defined in CLIENT API application for each integrator.

Authorization through Header

Instead of sending credentials in plain text through post parameters, an authenticated request includes the Authorization Header Variable. If this header is not included, the request is anonymous and may not succeed against API services.

To authenticate a request, you must encode the combined username and password in the request.

The format for the Authorization header is as follows:

Authorization: Basic [Encoded-Base64-String]

Constructing the Basic Authentication

Username and password are combined into a string “username:password”

The result string is then encoded using Base64.

In Header authorization, add “Basic” before the encoded string. There should be space in between “Basic” and encoded string

Authorization through POST Parameters

Token-based authentication is a protocol which allows users to verify their identity, and in return receive a unique access token. During the life of the token, users then access the website or app that the token has been issued for, rather than having to re-enter credentials each time they go back to the same webpage, app, or any resource protected with that same token.

Auth tokens work like a stamped ticket. The user retains access as long as the token remains valid. Once the user logs out or quits an app, the token is invalidated.

Token-based authentication is different from traditional password-based or server-based authentication techniques. Tokens offer a second layer of security, and administrators have detailed control over each action and transaction.

Token Authentication in 4 Easy Steps:

Use a token-based authentication system, and visitors will verify credentials just once. In return, they'll get a token that allows access for a time period you define.

The process works like this:

Request: The person asks for access to a server or protected resource. That could involve a login with a password, or it could involve some other process you specify. Verification: The server determines that the person should have access. That could involve checking the password against the username, or it could involve another process you specify. Tokens: The server communicates with the authentication device, like a ring, key, phone, or similar device. After verification, the server issues a token and passes it to the user. Storage: The token sits within the user's browser while work continues.

If the user attempts to visit a different part of the server, the token communicates with the server again. Access is granted or denied based on the token.

Administrators set limits on tokens. You could allow a one-use token that is immediately destroyed when the person logs out. Or you could set the token to self-destruct at the end of a specified time period.

A JSON Web Token consists of three parts: Header, Payload and Signature. The header and payload are Base64 encoded, then concatenated by a period, finally the result is algorithmically signed producing a token in the form of header.claims.signature. The header consists of metadata including the type of token and the hashing algorithm used to sign the token. The payload contains the claims data that the token is encoding. The final result looks like:

eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJtZXNzYWdlIjoiSldUIFJ1bGVzISIsImlhdCI6MTQ1OTQ0ODExOSwiZXhwIjoxNDU5NDU0NTE5fQ.-yIVBD5b73C75osbmwwshQNRC7frWUYrqaTjTpza2y4

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 [USER]
client_secret [PASSWORD]
scope Integrations

The Integration 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 Integration requirements.

Event Code Event Name Type Event Definition
AT11 *PlaceOrderINBOUNDCLIENT sends this event to initiate an order request to STACX.
AT12 AcceptOrderOUTBOUNDSTACX sends this event to CLIENT to inform that STACX accepts the order request.
AT13 RejectOrderOUTBOUNDSTACX sends this event to CLIENT to inform that the STACX does not accept the order request.
AT14 *ProductDeliveryOUTBOUNDSTACX sends this event to CLIENT with the order documents and product data.
AT15 AddNotesBOTHCLIENT and/or STACX send this event to provide a note on an order request.
AT21 HoldOrderBOTHCLIENT and/or STACX send this event to place the order request on hold.
AT22 CancelOrderBOTHCLIENT and/or STACX send this event to cancel the order request.
AT23 ResumeOrderBOTHCLIENT or STACX sends this event to resume a service order request that has been cancelled or put on hold.
AT25 DocumentDeliveryBOTHCLIENT and/or STACX sends this event to delivers the documents
AT30 GetStatusINBOUNDThe Client sends this event to the STACX to get the current status of the order.
AT31 OrderStatusOUTBOUNDThe STACX sends this event to the CLIENT to notify the current status of the order.
AT35 GetPayloadDataOUTBOUNDThe STACX sends this event to the CLIENT to request payload data.
AT36 PayloadDataINBOUNDThe Client sends this event to the STACX to provide payload data.
AT46 OrderExceptionINBOUNDThe Client sends this event to the STACX to clear the exception raised.
AT50 CompleteOrderOUTBOUNDThe STACX sends this event to notify CLIENT that the order request is completed
AT60 NewDocTypeINBOUNDThe Client sends this event to the STACX to add a new Document Type for Classification.
AT65 ClassificationFBINBOUNDThe Client sends this event to the STACX to provide a feedback on Document Type Classification.
AT70 ClassificationFBINBOUNDThe Client sends this event to the STACX to provide a Feedback on Extraction Fields.
AT76 Update Document FieldINBOUNDThe Client sends this event to the STACX to Update the document field names.

*Mandatory
      Inbound - Events receiving from client.
      Outbound - Events sending from STACX.

Order Placement
      1. CLIENT will create the Order Requests (CLIENT API Event AT11).
      2. CLIENTAPI will route the orders to STACX.

Confirmation of the orders
      3. STACX will confirm the request (CLIENTAPI Event AT12) for the order.
      4. If STACX does not accept the order, STACX will decline the order by sending Order Not Accepted by STACX (CLIENTAPI Event AT13) on the order.

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

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

General Use Events
      7. STACX should post any notes or events to CLIENT by sending Notes (CLIENTAPI Event AT15) on the applicable order. Notes (CLIENTAPI Event AT15) will also be utilized by the CLIENT on the applicable order to relay information to CLIENT
      8. The STACX and/or CLIENT may communicate that the order is on hold by sending Order On-Hold (CLIENTAPI Event AT21) event. The Order Resume (CLIENTAPI Event AT23) is sent to resume an order that has been put on hold (CLIENTAPI Event AT21).
      9. The Client sends this event to the STACX to get the current status of the order (CLIENTAPI Event AT30) event.
      10. The STACX sends this event to the CLIENT to notify the current status of the order (CLIENTAPI Event AT31) event
      11. If either the CLIENT or STACX needs to cancel the order at any time, Order Cancelled(CLIENTAPI Event AT22) should be sent on the order to be cancelled.

Order FeedBack
      12. The Client sends this event to the STACX to add a new Document Type for Classification(CLIENTAPI Event AT60) event.
      13. The Client sends this event to the STACX to provide a feedback on Document Type Classification(CLIENTAPI Event AT65) event.
      14. The Client sends this event to the STACX to provide a Feedback on Extraction Fields.

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
Transaction
TransactionID R Order number of the client application
Transaction > LoanInfo
LoanNumber R Loan Number
ProductCode R ProductCode is mentioned in Product Section
Transaction > LoanInfo > Property
Address1 R Property address
Address2 R Property address
State R Property statecode
County O Property county
City R Property city
Zip R Property zipcode
Transaction > DocumentsList
Count R No of documents count
Transaction > DocumentsList > Documents > Document
FileName R File Name
FileType R Document type. Eg: PDF
FileSource R File Source Eg: Base64/S3/SFTP/LINK
File R File Content / File Path
Transaction > Comments R SPECIAL INSTRUCTIONS
<!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"> <!-- 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; } </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> <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="d4f966d7f4c55ffb98b61fe8a861ce10"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="447799021118f4b9f6fbec80ae9f5fb5"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 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: AT12
EventName R Name of the event. Eg: AcceptOrder
CorrelationIdentifier R Unique number/Hash for the event
Transaction
TransactionID R Order number of the client application
Comments R Comments
<!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"> <!-- 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; } </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> <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="4c8f5de5094524cd98f4a87d496075c1"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="3d9998442311974e459f6d9c1bbf5d44"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 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: AT13
EventName R Name of the event. Eg: RejectOrder
CorrelationIdentifier R Unique number/Hash for the event
Transaction
TransactionID R Order number of the client application
Comments R Comments
<!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"> <!-- 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; } </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> <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="5fb785c0156187da94d226d9c05e77ab"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="b9ef0fcca59a409a0d37d7438bd0e544"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 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: AT14
EventName O Name of the event. Eg: ProductDelivery
CorrelationIdentifier R Unique number/Hash for the event
Transaction
TransactionID R Order number of the client application
OrderNumber R Order number of the STACX application
Transaction > ClassificationData
Page O Data in page
Transaction > ClassificationData > Page
PageNum O PageNum Eg :1
DocType O DocType Eg : Credit Report
PageConfidence O PageConfidence Eg : 78
Transaction > DocumentsList
Count R No of documents count
Transaction > DocumentsList > Documents > Document
FileName R File Name
Type R Type Eg: Credit Report
Pages R Pages Eg: 4
FileType R Document type. Eg: PDF
FileSize R FileSize Eg: 227049617
Format R Format Eg: 4
Hash R Hash Eg: cfcd208495d565ef66e7dff9f98764da
FileSource R File Source Eg: Base64/S3/SFTP/LINK
File R File Content / File Path
Attribute O Attributes
Transaction > DocumentsList > Documents > Document > Attribute
Name R Name Eg : Version,Borrower_First_Name
Value R Value Eg : 1.0,John
Page R Page Eg : 1
Transaction > Reports
FileName R File Name. Eg:AuditCheckList.pdf
FileType R Document type. Eg: PDF
FileSource R File Source Eg: Base64
Type R Type Eg: AuditChecklist
File R File Content
Transaction > Comment O Comments
<!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"> <!-- 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; } </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> <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="947eb013961fd4a3c11e64732a80d50d"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="461dd265e641562c67d0b8dc2cd9835f"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 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: AT15
EventName R Name of the event. Eg: AddNotes
CorrelationIdentifier R Unique number/Hash for the event
Transaction
TransactionID R Order number of the client application
OrderNumber R Order number of the client application
Comments O Comments
<!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"> <!-- 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; } </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> <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="3957d7e5d4d9838c22ccd05b3f07ccca"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="b07848155f18ce131993be0cb7dbd9c6"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 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: AT21
EventName O Name of the event. Eg: OnHoldOrder
CorrelationIdentifier R Unique number/Hash for the event
Transaction
TransactionID R Order number of the client application
OrderNumber R Order number of the client application
Comments O Comments
<!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"> <!-- 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; } </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> <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="36d90fc1474e90b759d055e5b59c9e44"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="c649429be4dc2df20c2e68b120141928"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 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: AT22
EventName O Name of the event. Eg: CancelOrder
CorrelationIdentifier R Unique number/Hash for the event
Transaction
TransactionID R Order number of the client application
OrderNumber R Order number of the client application
Comments O Comments
<!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"> <!-- 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; } </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> <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="c9880dd87245d8638348cbc502562c96"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="2e85a09d2d9110acdb26cefe8952bfc7"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 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: AT23
EventName R Name of the event. Eg: ResumeOrder
CorrelationIdentifier R Unique number/Hash for the event
Transaction
TransactionID R Order number of the client application
OrderNumber R Order number of the client application
Comments O Comments
<!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"> <!-- 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; } </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> <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="6e13d3e76e15d660d2d2b17b1b75fa0a"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="f6b4f7342e8473a7e4e02c73c48d73c2"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 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: AT25
EventName R Name of the event. Eg: AddDocument
CorrelationIdentifier R Unique number/Hash for the event
Transaction
TransactionID R Order number of the client application
OrderNumber R Order number of the client application
Comments O Comments
Transaction > Documents List > Document
FileName R File Name of the Sample Template provided
FileType R Document type. Eg: PDF
FileSource R File Source Eg: Base64
File R File Content
<!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"> <!-- 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; } </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> <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="5cd2d67bb143db5cd0f5711ba7cef9a7"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="94adf4e526c0c220c7256c3e61976dde"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 (2023-03-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: AT25
EventName R Name of the event. Eg: AddDocument
CorrelationIdentifier R Unique number/Hash for the event
Transaction
TransactionID R Order number of the client application
OrderNumber R Order number of the client application
Comments O Comments
Transaction > LoanInfo
LoanNumber R LoanNumber
LoanPurpose R LoanPurpose
LoanType R LoanType
ProductCode R ProductCode
Transaction > LoanInfo > Property
Address1 R Address1
Address2 O Address2
State R State
County R County
City R City
Zipcode R Zipcode
Transaction > AuditFindings
DocumentType O DocumentType
Checkpoint O Checkpoint
CheckpointId O CheckpointId
Result O Result
Transaction > Documents List > Document
FileName R File Name of the Sample Template provided
FileType R Document type. Eg: PDF
FileSource R File Source Eg: Base64
File R File Content
<!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"> <!-- 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; } </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> <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="52a67c0b3f051713b8eb3d67f1150154"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="d8f1405f5a3ac1d5e31c6b8e3c390d72"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 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: AT30
EventName R Name of the event. Eg: GetStatus
CorrelationIdentifier R Unique number/Hash for the event
Transaction
TransactionID R Order number of the client application
OrderNumber R Order number of the client application
Comments O Comments
<!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"> <!-- 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; } </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> <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="b0e97146db0b8a239f7cd4749fc2fbd6"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="10bca6818660993891d7a99c2e34f45d"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 Source application
SourceVer R Application version
SourceEnv R Source application environment. Eg: UAT/DEV/PROD
ClientID R ClientID (mentioned under purpose section)
EventName R Name of the event. Eg: Status
CorrelationIdentifier R Unique number/Hash for the event
Status R Acknowledgement (ACK)
Transaction
TransactionID R Order number of the client application
OrderStatus R Current status of the order
Status R Acknowledgement
<!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"> <!-- 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; } </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> <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="23d5eb53ac2ace6dc16785deabf0356f"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="9b7e0539246c080f4e6e9d844d814756"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 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: AT31
EventName O Name of the event. Eg: OrderStatus
CorrelationIdentifier R Unique number/Hash for the event
Transaction
TransactionID R Order number of the client application
OrderNumber R Order number of the client application
OrderStatus R Current status of the order
Comments O Comments
<!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"> <!-- 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; } </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> <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="03e4839c5873fc85298164dad9a0bb60"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="cbd27daea15b23cbb041e54b2ab344f0"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 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: AT35
EventName O Name of the event. Eg: OrderStatus
CorrelationIdentifier R Unique number/Hash for the event
Transaction
TransactionID R Order number of the client application
OrderNumber R Order number of the client application
Comments O Comments
<!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"> <!-- 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; } </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> <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="ac73d30bd19d41462db0d147085abfcf"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="337d13f3940482d836bb5b2ff38cdd18"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 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: AT46
EventName O Name of the event. Eg: OrderComplete
CorrelationIdentifier R Unique number/Hash for the event
Transaction
TransactionID R Order number of the client application
OrderNumber R Order number of the client application
Comments O Comments
Transaction > Exceptions
ExceptionID O ExceptionID
ExceptionStatus O ExceptionStatus
ExceptionCategory O ExceptionCategory
DocumentType O DocumentType
ExceptionType O ExceptionType
Transaction > Exceptions > QuestionAnswer
Question O Question
Answer O Answer
IsCritical O IsCritical
Comments O Comments
Transaction > Exceptions > Document
FileName R File Name of the Sample Template provided
FileType R Document type. Eg: PDF
FileSource R File Source Eg: Base64
File R File Content
<!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"> <!-- 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; } </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> <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="437be4ccb547c383f56ff8bb97cb16bf"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="1ee96c732d6127ba25e69e3c95e86033"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 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: AT50
EventName O Name of the event. Eg: OrderComplete
CorrelationIdentifier R Unique number/Hash for the event
Transaction
TransactionID R Order number of the client application
OrderNumber R Order number of the client application
Comments O Comments
<!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"> <!-- 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; } </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> <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="46d987ceb917789200dd8ba6f5576f33"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="9f02d1d35458a6a5c74902b6c89ca614"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 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: AT60
EventName O Name of the event. Eg: NewDocType
CorrelationIdentifier R Unique number/Hash for the event
Data > NewDocTypeLists > NewDocTypeList > NewDocType
Doc Type Template Name R Name of the new document type to be setup in the OCR Engine
Below are the template attributes for each sample received to setup in OCR. There can be multiple samples.
File Name R File Name of the Sample Template provided
File Source R Base64 Content
File DPI R Resolution of the template like 200 or 300 DPI
Below are the field level attributes for each field that needs to be data extracted from the template by OCR
Field Name R Name of the field
Field Type R Type of the field (Integer/String etc)
Field Value R Value of the field as in the sample
Top, Left, Right & Bottom O If structured document, mention the coordinates of the field in the sample
Page Number O Page Number where the field exists
Keywords O Multiple Keywords to identify the field in the document like keyword before and after the field value etc.
Comments O Any additional comments
<!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"> <!-- 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; } </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> <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="28d6867d18d28bd8e14ee19462e2923e"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="1032f675093c53e663b5c3d80988b092"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 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: AT65
EventName O Name of the event. Eg: ClassificationFB
CorrelationIdentifier R Unique number/Hash for the event
Transaction
TransactionID R Order number of the client application
OrderNumber R Order number of the client application
Transaction > ClassificationInfo
OrderStatus R Current status of the order
Page Number R Page Number in the original document received for classification
Old Doc Type R Document Type Name classified by the OCR Engine
Modified Doc Type R Document Type Name manually classified by the Freedom
Keywords O Multiple Keywords to identify the document type
Comments O Any additional comments
<!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"> <!-- 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; } </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> <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="d9214a17308d58081795ad1eb66ff2cc"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="20adfc5dc12f9c8d7401f22c327a2f74"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 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: AT65
EventName O Name of the event. Eg: ClassificationFB
CorrelationIdentifier R Unique number/Hash for the event
Transaction
TransactionID R Order number of the client application
OrderNumber R Order number of the client application
Below are the template attributes for each document type of the loan input document received.
Doc Type Name R Doc Type Name of the Sample Template provided
Below are the field level attributes for each field of the doc type that needs to be fixed or to teach the OCR Engine.
Field Name R Name of the field
Field Type R Type of the field (Integer/String etc)
Old Field Value R Field Value recognized by the OCR Engine
New Field Value R Field Value modified by Freedom
Old Page Number R Old Page Number where OCR extracted the field data
New Page Number O New Page Number where the Freedom manually entered the field data
Keywords O Multiple Keywords to identify the field in the document like keyword before and after the field value etc.
Top, Left, Right & Bottom O If structured document, mention the coordinates of the field in the sample
Comments O Any additional comments
<!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"> <!-- 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; } </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> <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="0ac5312974940553bb3a7ab18391ab0c"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="cd671792c8cf49229b5997f39fc6b297"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 (2023-03-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: AT76
EventName O Name of the event. Eg: OrderComplete
Transaction
Comments O Comments
Transaction > Documents List > Document
EDMSDocumentTypeID O EDMSDocumentTypeID
EDMSDocumentTypeName O EDMSDocumentTypeName
Transaction > Documents List > Document > Fields
ID R ID
Name R Name
<!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"> <!-- 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; } </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> <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="4cf236e9bfc8440387707a77fae412f2"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="6f540962a5166b2105428976056487d8"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 Source application
SourceVer R Application version
SourceEnv R Source application environment. Eg: UAT/DEV/PROD
Status R Acknowledgement (ACK)
Transaction
TransactionID R Order number of the client application
Status R Acknowledgement (ACK)
Acknowledgement
Received R Acknowledgement received date. (2021-06-10T14:18:42+00:00 (W3C))
Validated Yes as a Response
<!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"> <!-- 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; } </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> <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="4230bb7cafab4dc2f528b551be11ba25"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="a0da73cb423bd66471b64f24423dbaef"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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 Source application
SourceVer R Application version
SourceEnv R Source application environment. Eg: UAT/DEV/PROD
Status R Acknowledgement (ACK)
Transaction
TransactionID R Order number of the client application
Status R Negative Acknowledgement (NACK)
Acknowledgement
Errors
ErrorType R Type of error received
Description R Describes about the error
Received R Negative Acknowledgement received date. (2021-06-10T14:18:42+00:00 (W3C))
Validated No as a Response
<!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"> <!-- 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; } </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> <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="06315b2a5584068d61f09edf52fd9bb4"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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"> <!-- 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; } </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> <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="7e6a9382beec7c4fe6d4c0d738957b42"> <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" placeholder="Email"> </div> </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" placeholder="Password"> <span class="input-group-addon"><i class="fa fa-eye-slash showhide" id="password_icon" aria-hidden="true"></i></span> </div> </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/functions.js"></script> <script src="http://apistage.direct2title.com/assets/js/a076d05399.js"></script> <!-- endbuild --> <script type="text/javascript"> $(document).ready(function(){ $('#Signin').click(function(){ 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 == 2) { $('#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/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>