Back To Home

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

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

Client ID

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

UAT Environment

Client ID Client Name
XYZTEST123 XYZ

Production Environment

Will be share when we go live

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

Product Name
Current Owner
Update Search

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

Search Type
Address
BookAndPage
InstrumentNumber

HTTP Post

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

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

UAT URL:

https://avanzeapi.com/Abstractnow/organization/integration

PRODUCTION URL:

Will be share when we go live

Authorization through POST Parameters

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

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

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

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

      - grant_type with the value client_credentials

      - client_id with the client’s ID

      - client_secret with the client’s secret

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

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

      - token_type with the value Bearer

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

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

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

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

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

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

ABSTRACT NOW Client Integration Guide - XYZ

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

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

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

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

Field Name R/O Description
Header
Created R Request created date time (2021-06-10T14:18:42+00:00 (W3C))
SourceApp R Name of Source application
SourceVer R Application version
SourceEnv R Source application environment. Eg: UAT/DEV/PROD
ClientID R ClientID (mentioned under purpose section)
EventCode R Requested Event Code. Eg: AT11
EventName R Name of the event. Eg: PlaceOrder
CorrelationIdentifier R Unique number/Hash for the event
Field Name R/O Description
Transaction
TransactionID R Order number of the client application
Comments R Comments
Priority R Priority of Transaction (HIGH, MEDIUM, LOW)
ParcelNumber R Parcel Number
SearchType R Search type for the transaction (Address/ BookAndPage/ InstrumentNumber)
ProductType R Product type of the transaction (Current Owner/ Update Search)
InstrumentNumber R Instrument Number
BookNumber R Book Number
PageNumber R Page Number
StartDate R Starting Date of the transaction (eg. MM/DD/YYYY)
Property
Address1 R Property Address line 1
Address2 O Property Address line 2
State R Property State Code
County R Property County
City R Property City
Zipcode R Property Zip Code
BorrowerList > Borrowers
FirstName R Borrower First Name
MiddleName R Borrower Middle Name
LastName O Borrower Last Name
IndividualStartDate R Individual Start Date (eg. MM/DD/YYYY)
CompanyList > Company
Name R Company Name
CompanyStartDate R Company Start Date (eg. MM/DD/YYYY)
Field Name R/O Description
Transaction
TransactionID R Order number of the client application
Comments R Comments
OrderNumber R Order number of the AbstractNow application
FileSource R Source of the file (e.g. S3,Link,Base64,SFTP)
FileType R Type of the file (e.g. PDF)
DocumentList > Document
FileName R Name of the file
FilePath O Path of the file
FileSize R Size of the file
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="daefbdffe4960643a5fe9ae70ef02619"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="07c9e2320023729dab5bae2f189f6d3e"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="e8d047026a6f97d1246d084e94dd96f6"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="ed9fb2bd5ebc829140783b8dc182aa9e"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="731383bf77c7187fd1525f6e1abcb151"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="37d0c1f8d887bd5ac115fd706f952650"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="57816a333ae9143534684195b86fefdf"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="b9ef9472f6c86c81a7d31d565ee11c42"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="82637952652a35b4a818d5df17645d82"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="fc2eb988aa1ace11d849f1aa5ff05bc1"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="39b8a0885387a194419bd56d0cf4fca1"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="23bec5862b7c7e0d300a55eb95382ce4"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
Field Name R/O Description
Transaction
TransactionID R Order number of the client application
Comments R Comments
OrderNumber R Order number of the STACX application
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="bb3e677f6c6a54a53fb3b454f2b80426"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="2aac28cb9fb818ad1f68962bf94ae9ce"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
Field Name R/O Description
Transaction
TransactionID R Order number of the client application
Comments R Comments
OrderNumber R Order number of the AbstractNow application
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="18732420b7715b10f6504abfe4f60348"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="02c729185725233d461d3387f1899483"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
Field Name R/O Description
Transaction
TransactionID R Order number of the client application
OrderStatus R Current status of an order
OrderNumber R Order number of the AbstractNow application
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="d5a4bed4607b449c35abecde1e89b85a"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="a478e1ba53728b73d033b0cb6d24f7fa"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
Field Name R/O Description
Transaction
TransactionID R Order number of the client application
Comments R Comments
OrderNumber R Order number of the AbstractNow application
Status R Current status of an ordern
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="bd2b45c3736a0026798f55d0a8ef8177"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="0607645efd96de758013687362423a7a"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
Field Name R/O Description
Header
Created R Request created date time (2021-06-10T14:18:42+00:00 (W3C))
SourceApp R Name of the application
SourceVer R Application version
SourceEnv R Source application environment. Eg: UAT/DEV/PROD
Status R ACK
Transaction
TransactionID R Order number of the sclient application
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="c0169c636e4d0c892a304ffb2f5130f3"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="1536d3d14872bd84e4ba99b6f561c2a4"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.com/"); }, 2000); } }, error:function(jqXHR, textStatus, errorThrown) { console.log(jqXHR); console.log(textStatus); console.log(errorThrown); } }); return false; }); /* function to show and hide password */ $('#password_icon').on('click',function(e) { var password = document.getElementById("password"); if(password.type === "password") { password.type = "text"; $(this).toggleClass("fa-eye fa-eye-slash"); } else { password.type = "password"; $(this).toggleClass("fa-eye-slash fa-eye"); } }); }); </script> </body> </html>
Field Name R/O Description
Header
Created R Request created date time (2021-06-10T14:18:42+00:00 (W3C)
SourceApp R Name of the application
SourceVer R Application version
SourceEnv R Source application environment. Eg: UAT/DEV/PROD
Status R NACK
Transaction
TransactionID R Order number of the client application
Errors
Type R Type of error received
Description R Describes about the error
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>AVANZE API</title> <meta name="description" content="stacx2.0, D2T vendor events, D2T lender events, stacx1.0, client mapping, bootstrap 4, icons, authkey, csrf Token"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- icons --> <link rel="icon" type="image/png" sizes="192x192" href="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="44b263ae46571ce25b7747056a5b85d1"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.com/assets/css/main.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/elements/logo.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/pages/login.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/typography.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/ui-elements/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/notifications/toastr.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/icons/simple-line-icons.css"> <link rel="stylesheet" type="text/css" href="https://avanzeapi.com/assets/css/forms/default-forms.css"> <!-- endbuild --> <style type="text/css"> @font-face { font-family: "simple-line-icons"; src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot"); src: url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.eot#iefix") format("embedded-opentype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff2") format("woff2"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.ttf") format("truetype"), url("https://avanzeapi.com/assets/fonts/Simple-Line-Icons.woff") format("woff"), url("https://avanzeapi.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 href="https://avanzeapi.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="https://avanzeapi.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="https://avanzeapi.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="5a1b2fff3b62610d1c71ed5d88c65869"> <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 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="https://avanzeapi.com/login/forgotpasswordpage">Click here</a> </p> </div> </form> </div> <!-- end pages/login --> </div> </div> </div> <!-- build:js /js/vendor.js --> <script src="https://avanzeapi.com/assets/bower_components/jquery-1.9.1/index.js"></script> <script src="https://avanzeapi.com/assets/bower_components/toastr/toastr.min.js"></script> <script src="https://avanzeapi.com/assets/scripts/functions.js"></script> <script src="https://avanzeapi.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:"https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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("https://avanzeapi.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>