{"id":5671,"date":"2022-11-14T23:07:01","date_gmt":"2022-11-14T23:07:01","guid":{"rendered":"https:\/\/serviceobjects.wpaladdin.com\/?page_id=5671"},"modified":"2022-12-23T07:27:48","modified_gmt":"2022-12-23T15:27:48","slug":"ac-address-response","status":"publish","type":"page","link":"https:\/\/test.serviceobjects.com\/docs\/dots-global-address-complete\/ac-address-response\/","title":{"rendered":"AC &#8211; Address Response"},"content":{"rendered":"\n<div style=\"height:33px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/test.serviceobjects.com\/docs\/dots-global-address-complete\/ac-address-response\/#AC-AddressResponse-AddressObjectforAddresses\">Address Object for Addresses&nbsp;<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/test.serviceobjects.com\/docs\/dots-global-address-complete\/ac-address-response\/#AC-AddressResponse-Address\">Address<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"AC-AddressResponse-AddressObjectforAddresses\">Address Object for Addresses&nbsp;<\/h2>\n\n\n\n<ul class=\"is-style-no-bullets-indented-list wp-block-list\">\n<li>In the following code block we can see that &#8220;address&#8221; is a parameter passed into the function when the populate event is detected.&nbsp; Additional logic can be added in this function, for example, and can help deal with any additional business logic that is needed to be implemented.<\/li>\n<\/ul>\n\n\n\n<div style=\"height:23px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Listen for Events Example<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">DOTSGlobalAddressComplete.listen(\"populate\", function(address, variations) {\n    document.getElementById(\"LabelJSON\").innerText = address.FormattedAddress.toUpperCase();\n});<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"AC-AddressResponse-Address\">Address<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Field<\/th><th>Type<\/th><th>Description<\/th><th>USA<br>Only<\/th><\/tr><\/thead><tbody><tr><td>AddressStatus<\/td><td>String<\/td><td>The status of a US address &#8220;Address Verified&#8221;, &#8220;Premise Number Unknown&#8221;, &#8230;<\/td><td>*<\/td><\/tr><tr><td>Language<\/td><td>String<\/td><td><br>Language of returned address.<\/td><td><\/td><\/tr><tr><td>LanguageAlternatives<\/td><td>String<\/td><td>Available alternative languages for the results.<\/td><td><\/td><\/tr><tr><td>BusinessName<\/td><td>String<\/td><td>Name of business associated with this address. Provided when possible.<\/td><td><\/td><\/tr><tr><td>SubPremise<\/td><td>String<\/td><td>Unit\/Apt\/Suite&#8230;<\/td><td><\/td><\/tr><tr><td>PremiseNumber<\/td><td>String<\/td><td>Street number.<\/td><td><\/td><\/tr><tr><td>PremiseName<\/td><td>String<\/td><td>Building name.<\/td><td><\/td><\/tr><tr><td>StreetName<\/td><td>String<\/td><td>The name of the street.<\/td><td><\/td><\/tr><tr><td>StreetLine<\/td><td>String<\/td><td>The name of the street and street suffix.<\/td><td><\/td><\/tr><tr><td>Locality<\/td><td>String<\/td><td>The name of the distinct population cluster, such as a City, Town or other type of Municipality.<\/td><td><\/td><\/tr><tr><td>Address1<\/td><td>String<\/td><td>Address Line 1 of the Address.<\/td><td><\/td><\/tr><tr><td>Address2<\/td><td>String<\/td><td>Address Line 2 of the Address.<\/td><td><\/td><\/tr><tr><td>Address3<\/td><td>String<\/td><td>Address Line 3 of the Address.<\/td><td><\/td><\/tr><tr><td>Address4<\/td><td>String<\/td><td>Address Line 4 of the Address.<\/td><td><\/td><\/tr><tr><td>Address5<\/td><td>String<\/td><td>Address Line 5 of the Address.<\/td><td><\/td><\/tr><tr><td>AdminArea<\/td><td>String<\/td><td>The name of the administrative division. Commonly the primary division of a country, such as a State, Region, Province, County, Territory or Prefecture.<\/td><td><\/td><\/tr><tr><td>AdminAreaCode<\/td><td>String<\/td><td>Usually the abbreviation of AdminArea.<\/td><td><\/td><\/tr><tr><td>PostalCode<\/td><td>String<\/td><td>The postal code of the address. It is recommended that the postal code be formatted to contain a strong resemblance to the proper country specific format, and that you do not precede the postal code with a country or region code. For example, use &#8216;09170&#8217; instead of &#8216;FR-9170&#8217;.<\/td><td><\/td><\/tr><tr><td>Country<\/td><td>String<\/td><td>Country of the selected address.<\/td><td><\/td><\/tr><tr><td>CountryISO2<\/td><td>String<\/td><td>The&nbsp;ISO 3166-1 Alpha-2 Country Code&nbsp;of the country associated to the address selected.<\/td><td><\/td><\/tr><tr><td>CountryISO3<\/td><td>String<\/td><td>The&nbsp;ISO 3166-1 Alpha-3 Country Code&nbsp;of the country associated to the address selected.<\/td><td><\/td><\/tr><tr><td>POBox<\/td><td>String<\/td><td>Indicate if the address is a PO Box.<\/td><td><\/td><\/tr><tr><td>FormattedAddress<\/td><td>String<\/td><td>Standardized complete address.<\/td><td><\/td><\/tr><tr><td>AddressType<\/td><td>String<\/td><td>The type of the address, such as Commercial, Residential, Unknown. *USA, Canada and UK ONLY<\/td><td><\/td><\/tr><tr><td>ResolutionLevel<\/td><td>String<\/td><td>The resolution level of the address returned, such as Premise, Street, Range<\/td><td><\/td><\/tr><tr><td>BarcodeDigits<\/td><td>Integer<\/td><td>The post office delivery barcode digits.<br>Barcode Example: 931011445011<\/td><td>*<\/td><\/tr><tr><td>CarrierRoute<\/td><td>String<\/td><td>4 chars: 1 for the route type, 3 for the route code. Identifies a group of addresses when prepended by 5-digit Zip.<\/td><td>*<\/td><\/tr><tr><td>CountyName<\/td><td>String<\/td><td>The name of the county in which the given address lies.<\/td><td>*<\/td><\/tr><tr><td>CountyCode<\/td><td>String<\/td><td>The county code of the given address.<\/td><td>*<\/td><\/tr><tr><td>CongressCode<\/td><td>String<\/td><td>The congress code is the congressional district number.<\/td><td>*<\/td><\/tr><tr><td>DPV<\/td><td>String<\/td><td>Number that correlates to a DPV(Delivery Point Validation)&nbsp;result.&nbsp;An indicator displaying whether or not the address is recognized as deliverable by the USPS.<\/td><td>*<\/td><\/tr><tr><td>DPVDesc<\/td><td>String<\/td><td>Explains DPV result.<\/td><td>*<\/td><\/tr><tr><td>AddressNotes<\/td><td>String<\/td><td>Number that correlates to DPV notes description. Service Objects may add or change Note descriptions, but will never modify existing codes.<\/td><td>*<\/td><\/tr><tr><td>AddressNotesDesc<\/td><td>String<\/td><td>Details about the DPV result. Service Objects may add or change Note descriptions, but will never modify existing codes.<\/td><td>*<\/td><\/tr><tr><td>Corrections<\/td><td>String<\/td><td>Number that correlates to a Corrections Description. Service Objects may add or change Correction descriptions, but will never modify existing codes.<\/td><td>*<\/td><\/tr><tr><td>CorrectionsDesc<\/td><td>String<\/td><td>Description of what was corrected in an address. Service Objects may add or change Correction descriptions, but will never modify existing codes.<\/td><td>*<\/td><\/tr><tr><td>StreetPreDirectional<\/td><td>String<\/td><td>The parsed pre-directional of the address&#8217;s street.<br>&#8220;North&#8221; in 123 North Main St West Apt A<\/td><td>*<\/td><\/tr><tr><td>StreetPostDirectional<\/td><td>String<\/td><td>The parsed post-directional of the address&#8217;s street.<br>&#8220;West&#8221; in 123 North Main St West Apt A<\/td><td>*<\/td><\/tr><tr><td>StreetSuffix<\/td><td>String<\/td><td>The parsed suffix of the street in the given address.<br>&#8220;St&#8221; in 123 North Main St West Apt A<\/td><td>*<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Address Type &#8211; Supported Countries<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Canada<\/td><\/tr><tr><td>United Kingdom<\/td><\/tr><tr><td>United States<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Address Object for Addresses&nbsp; Listen for Events Example Address Field Type Description USAOnly AddressStatus String The status of a US address &#8220;Address Verified&#8221;, &#8220;Premise Number Unknown&#8221;, &#8230; * Language String Language of returned address. LanguageAlternatives String Available alternative languages for the results. BusinessName String Name of business associated with this address. Provided when possible. SubPremise [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":2321,"menu_order":6,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5671","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>AC - Address Response<\/title>\n<meta name=\"description\" content=\"Address Object for Addresses&nbsp; Address Address Object for Addresses&nbsp; In the following code block we can see that &quot;address&quot; is a parameter passed\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AC - Address Response\" \/>\n<meta property=\"og:description\" content=\"Address Object for Addresses&nbsp; Address Address Object for Addresses&nbsp; In the following code block we can see that &quot;address&quot; is a parameter passed\" \/>\n<meta property=\"og:url\" content=\"https:\/\/test.serviceobjects.com\/docs\/dots-global-address-complete\/ac-address-response\/\" \/>\n<meta property=\"og:site_name\" content=\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-23T15:27:48+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/dots-global-address-complete\/ac-address-response\/\",\"url\":\"https:\/\/test.serviceobjects.com\/docs\/dots-global-address-complete\/ac-address-response\/\",\"name\":\"AC - Address Response\",\"isPartOf\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#website\"},\"datePublished\":\"2022-11-14T23:07:01+00:00\",\"dateModified\":\"2022-12-23T15:27:48+00:00\",\"description\":\"Address Object for Addresses&nbsp; Address Address Object for Addresses&nbsp; In the following code block we can see that \\\"address\\\" is a parameter passed\",\"breadcrumb\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/dots-global-address-complete\/ac-address-response\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/test.serviceobjects.com\/docs\/dots-global-address-complete\/ac-address-response\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/dots-global-address-complete\/ac-address-response\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/test.serviceobjects.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DOTS Global Address Complete\",\"item\":\"https:\/\/test.serviceobjects.com\/docs\/dots-global-address-complete\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"AC &#8211; Address Response\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#website\",\"url\":\"https:\/\/test.serviceobjects.com\/docs\/\",\"name\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/test.serviceobjects.com\/docs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#organization\",\"name\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\",\"url\":\"https:\/\/test.serviceobjects.com\/docs\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/test.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png\",\"contentUrl\":\"https:\/\/test.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png\",\"width\":2560,\"height\":1440,\"caption\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\"},\"image\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AC - Address Response","description":"Address Object for Addresses&nbsp; Address Address Object for Addresses&nbsp; In the following code block we can see that \"address\" is a parameter passed","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"AC - Address Response","og_description":"Address Object for Addresses&nbsp; Address Address Object for Addresses&nbsp; In the following code block we can see that \"address\" is a parameter passed","og_url":"https:\/\/test.serviceobjects.com\/docs\/dots-global-address-complete\/ac-address-response\/","og_site_name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","article_modified_time":"2022-12-23T15:27:48+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/test.serviceobjects.com\/docs\/dots-global-address-complete\/ac-address-response\/","url":"https:\/\/test.serviceobjects.com\/docs\/dots-global-address-complete\/ac-address-response\/","name":"AC - Address Response","isPartOf":{"@id":"https:\/\/test.serviceobjects.com\/docs\/#website"},"datePublished":"2022-11-14T23:07:01+00:00","dateModified":"2022-12-23T15:27:48+00:00","description":"Address Object for Addresses&nbsp; Address Address Object for Addresses&nbsp; In the following code block we can see that \"address\" is a parameter passed","breadcrumb":{"@id":"https:\/\/test.serviceobjects.com\/docs\/dots-global-address-complete\/ac-address-response\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/test.serviceobjects.com\/docs\/dots-global-address-complete\/ac-address-response\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/test.serviceobjects.com\/docs\/dots-global-address-complete\/ac-address-response\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/test.serviceobjects.com\/docs\/"},{"@type":"ListItem","position":2,"name":"DOTS Global Address Complete","item":"https:\/\/test.serviceobjects.com\/docs\/dots-global-address-complete\/"},{"@type":"ListItem","position":3,"name":"AC &#8211; Address Response"}]},{"@type":"WebSite","@id":"https:\/\/test.serviceobjects.com\/docs\/#website","url":"https:\/\/test.serviceobjects.com\/docs\/","name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","description":"","publisher":{"@id":"https:\/\/test.serviceobjects.com\/docs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/test.serviceobjects.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/test.serviceobjects.com\/docs\/#organization","name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","url":"https:\/\/test.serviceobjects.com\/docs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/test.serviceobjects.com\/docs\/#\/schema\/logo\/image\/","url":"https:\/\/test.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png","contentUrl":"https:\/\/test.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png","width":2560,"height":1440,"caption":"Service Objects | Contact, Phone, Email Verification | Data Quality Services"},"image":{"@id":"https:\/\/test.serviceobjects.com\/docs\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/5671","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/comments?post=5671"}],"version-history":[{"count":10,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/5671\/revisions"}],"predecessor-version":[{"id":9280,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/5671\/revisions\/9280"}],"up":[{"embeddable":true,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/2321"}],"wp:attachment":[{"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/media?parent=5671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}