Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added metas


SEO Metadata
composedTitleTry the Address Validation - Canada API
keywordsAddress Validation Canada | API
titleTry the Address Validation - Canada API

Developer Guide - Try the Address Validation - Canada API


HTML
<style>
section.filter  
{  
    display: none;  
}  
  
.swagger-section {  
    box-sizing: border-box;  
    overflow: -moz-scrollbars-vertical;  
    overflow-y: unset;  
    width: 60%;  
}  
  
.swagger-ui .opblock-body pre {  
    font-size: 12px;  
    font-weight: 300;  
    color: black;  
}  
  
  
.swagger-ui .opblock-body pre span {  
    color: black!important;  
    background-color: whitesmoke;  
}  
  
.swagger-ui .opblock-body pre {  
    font-size: 12px;  
    background: whitesmoke;  
    font-weight: 300;  
    color: black;  
    border-width: 1px;  
    border-style: solid;  
    border-color: lightgrey;  
}  
  
.swagger-section *, .swagger-section *:before, .swagger-section *:after {  
     background-color: white;  
}  
  
  
.swagger-ui .parameter__name {  
    color: grey;  
}  
  
.swagger-ui table tbody tr td {  
    color: grey;  
}  
  
  
.swagger-ui .response-col_description__inner div.markdown, .swagger-ui .response-col_description__inner div.renderedMarkdown {  
    background: whitesmoke;  
    border-width: 1px;  
    border-style: solid;  
    border-color: lightgrey;  
    color: black;  
}  
  
.swagger-ui .opblock .opblock-section-header {  
    background: white;  
}  
  
.parameters tr  
{  
    border-bottom-color: lightgrey;  
    border-bottom-width: 1px;  
    border-bottom-style: solid;  
}  
  
.swagger-ui textarea.curl {  
    border-radius: 4px;  
    background: whitesmoke;  
    font-weight: 300;  
    color: black;  
border-color: lightgrey;  
    border-width: 1px;  
    border-style: solid;  
}  
  
  
.swagger-ui .info .title small pre {  
    color: #fff;  
    background-color: #7d8492;  
}  
  
.swagger-ui .model-toggle.collapsed {  
    background-color: whitesmoke;  
}  
  
.swagger-ui .model-title {  
    background-color: whitesmoke;  
}  
  
.swagger-ui section.models .model-box {  
     background-color: whitesmoke;  
}  
  
.model-box span  
{  
    background-color: whitesmoke;  
}  
  
.swagger-ui table.model tbody tr td:first-of-type {  
    background-color: whitesmoke;  
}  
  
.swagger-ui table.model tbody tr td {  
    background-color: whitesmoke;  
}  
  
.soSampleBtn  
{  
    background: whitesmoke;  
    border-width: 2px;  
    border-style: solid;  
    border-color: lightgrey;  
    color: black;  
    margin-left: 10px !important;  
    padding: 6px 20px;  
    border-radius: 5px;  
    font-size: 13px;  
}  
  
.soSampleBtn:hover  
{  
    background: white;  
    border-color: grey;  
}  
  
.swagger-ui .opblock .opblock-section-header {  
    -webkit-box-shadow: 0 0px 0px rgba(0,0,0,.1);  
    box-shadow: 0 0px 0px rgba(0,0,0,.1);  
}  
  
.aui-header .aui-header-logo .aui-header-logo-text {  
    font-size: 17px;  
}  
  
.swagger-ui .parameter__empty_value_toggle.disabled {  
    display: none;  
}  
  
.swagger-ui .parameter__empty_value_toggle {  
    display: none;  
}  
  
.parameters tr {  
    border-bottom-style: none;  
}  
  
.swagger-ui .parameter__extension, .swagger-ui .parameter__in {  
    display: none;  
}  
  
.markdown  
{  
   display: none;  
}  
  
.swagger-ui .info hgroup.main {  
    margin: 0 0 -50px;  
}  
  
.page-metadata {  
    margin: -15px 0 0px;  
}  
  
  
.swagger-ui .opblock {  
    margin: 0 0 7px;  
}  
  
.swagger-ui .opblock-description-wrapper, .swagger-ui .opblock-external-docs-wrapper, .swagger-ui .opblock-title_normal {  
    margin: 0 0 0px;  
    padding: 1px 20px;  
}  
  
.swagger-ui .table-container {  
    padding-top: 0px;  
}  
  
.swagger-ui .opblock .opblock-section-header {  
    min-height: 45px;  
}  
  
.swagger-ui .info .base-url {  
    display: none;  
}  
  
.url  
{  
    display: none;    
}  
  
.swagger-ui table tbody tr td {  
    padding: 5px 0 0;  
}  
  
.swagger-ui table tbody tr td:first-of-type {  
    padding: 5px 0;  
}  
  
  
.swagger-ui table thead tr td, .swagger-ui table thead tr th {  
    padding: 0px 0;  
}  
  
.swagger-ui .table-container {  
    padding-bottom: 0px;  
}  
  
.swagger-ui .execute-wrapper {  
    padding-top: 5px;  
}  
  
.swagger-ui .opblock-tag {  
    display: none;  
}  
  
  
.swagger-ui .opblock .opblock-section-header {  
    min-height: 45px;  
    display: none;  
}  
.swagger-ui section.models
{
 display: none;
}
</style>


<script>
window.addEventListener('load', function(){
           AJS.$("#operations-Operations-GetValidateCanadianAddressV2 > div").trigger('click');
});

var waitForEl = function(selector, callback) {
  if (AJS.$('.try-out').length) {
    callback();
  } else {
    setTimeout(function() {
      waitForEl(selector, callback);
    }, 100);
  }
};

var selector = AJS.$('.try-out');
waitForEl(selector , function() {
  AJS.$('.try-out > button').trigger('click');
});
</script>

...