{"id":9899,"date":"2023-10-03T08:19:21","date_gmt":"2023-10-03T15:19:21","guid":{"rendered":"https:\/\/www.serviceobjects.com\/docs\/?page_id=9899"},"modified":"2025-08-20T19:07:45","modified_gmt":"2025-08-21T02:07:45","slug":"ac-place-response","status":"publish","type":"page","link":"https:\/\/www.serviceobjects.com\/docs\/dots-global-address-complete\/ac-place-response\/","title":{"rendered":"AC &#8211; Place Response"},"content":{"rendered":"<div class=\"wp-block-spacer\" style=\"height: 30px;\" aria-hidden=\"true\"><\/div>\n<nav aria-label=\"Place Response Navigation\">\n<ul>\n<li><a href=\"#AC-PlaceResponse-VariationsObjectforPlaces\">Variations Object for Places<\/a><\/li>\n<li><a href=\"#AC-PlaceResponse-Place\">Place<\/a><\/li>\n<\/ul>\n<\/nav>\n<section aria-labelledby=\"AC-PlaceResponse-VariationsObjectforPlaces\">\n<h2 id=\"AC-PlaceResponse-VariationsObjectforPlaces\">Variations Object for Places<\/h2>\n<ul class=\"is-style-no-bullets-indented-list\">\n<li>In the following code block we can see that &#8220;variations&#8221; is a parameter passed into the function when the populate event is detected.\u00a0 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<div class=\"wp-block-spacer\" style=\"height: 30px;\" aria-hidden=\"true\"><\/div>\n<p><strong>Listen for Events Example<\/strong><\/p>\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) {\r\n    document.getElementById(\"LabelJSON\").innerText = variations.Label;\r\n});<\/pre>\n<\/section>\n<div class=\"wp-block-spacer\" style=\"height: 30px;\" aria-hidden=\"true\"><\/div>\n<section aria-labelledby=\"AC-PlaceResponse-Place\">\n<h2 id=\"AC-PlaceResponse-Place\">Place<\/h2>\n<figure class=\"wp-block-table is-style-regular\">\n<table>\n<thead>\n<tr style=\"border-bottom: 3px solid currentColor;\">\n<th>Field<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>PID<\/td>\n<td>String<\/td>\n<td>The specific record ID that is used when SELECTing results. This ID allows you to look up more than just the recommended result.<\/td>\n<\/tr>\n<tr>\n<td>Name<\/td>\n<td>String<\/td>\n<td>The name of the place the result returned.<\/td>\n<\/tr>\n<tr>\n<td>Label<\/td>\n<td>String<\/td>\n<td>A more descriptive label of the place with the name and more relevant address info.<\/td>\n<\/tr>\n<tr>\n<td>Type<\/td>\n<td>String<\/td>\n<td>Type of Locality result returned. Possible values are Locality1, Locality2, Locality3, or Locality4.<\/td>\n<\/tr>\n<tr>\n<td>Thoroughfare<\/td>\n<td>String<\/td>\n<td>The thoroughfare of the address. Will be &#8220;null&#8221; with this search type.<\/td>\n<\/tr>\n<tr>\n<td>Locality1<\/td>\n<td>String<\/td>\n<td>The Locality1 result returned.<\/td>\n<\/tr>\n<tr>\n<td>Locality1_PID<\/td>\n<td>String<\/td>\n<td>The associated PID if a Locality1 result is returned.<\/td>\n<\/tr>\n<tr>\n<td>Locality2<\/td>\n<td>String<\/td>\n<td>The Locality2 result returned.<\/td>\n<\/tr>\n<tr>\n<td>Locality2_PID<\/td>\n<td>String<\/td>\n<td>The associated PID if a Locality2 result is returned.<\/td>\n<\/tr>\n<tr>\n<td>Locality3<\/td>\n<td>String<\/td>\n<td>The Locality3 result returned.<\/td>\n<\/tr>\n<tr>\n<td>Locality3_PID<\/td>\n<td>String<\/td>\n<td>The associated PID if a Locality3 result is returned.<\/td>\n<\/tr>\n<tr>\n<td>Locality4<\/td>\n<td>String<\/td>\n<td>The Locality4 result returned.<\/td>\n<\/tr>\n<tr>\n<td>Locality4_PID<\/td>\n<td>String<\/td>\n<td>The associated PID if a Locality4 result is returned.<\/td>\n<\/tr>\n<tr>\n<td>AdminArea1<\/td>\n<td>String<\/td>\n<td>The AdminArea1 result returned.<\/td>\n<\/tr>\n<tr>\n<td>AdminArea1_PID<\/td>\n<td>String<\/td>\n<td>The associated PID if a AdminArea1 result is returned.<\/td>\n<\/tr>\n<tr>\n<td>AdminArea2<\/td>\n<td>String<\/td>\n<td>The AdminArea2 result returned.<\/td>\n<\/tr>\n<tr>\n<td>AdminArea2_PID<\/td>\n<td>String<\/td>\n<td>The associated PID if a AdminArea2 result is returned.<\/td>\n<\/tr>\n<tr>\n<td>AdminArea3<\/td>\n<td>String<\/td>\n<td>The AdminArea3 result returned.<\/td>\n<\/tr>\n<tr>\n<td>AdminArea3_PID<\/td>\n<td>String<\/td>\n<td>The associated PID if a AdminArea3 result is returned.<\/td>\n<\/tr>\n<tr>\n<td>AdminArea4<\/td>\n<td>String<\/td>\n<td>The AdminArea4 result returned.<\/td>\n<\/tr>\n<tr>\n<td>AdminArea4_PID<\/td>\n<td>String<\/td>\n<td>The associated PID if a AdminArea4 result is returned.<\/td>\n<\/tr>\n<tr>\n<td>AdminArea5<\/td>\n<td>String<\/td>\n<td>The AdminArea5 result returned.<\/td>\n<\/tr>\n<tr>\n<td>The associated PID if a AdminArea5 result is returned.<\/td>\n<td>String<\/td>\n<td>The associated PID if a AdminArea5 result is returned.<\/td>\n<\/tr>\n<tr>\n<td>Country<\/td>\n<td>String<\/td>\n<td>The country of result returned.<\/td>\n<\/tr>\n<tr>\n<td>Country_ISO3<\/td>\n<td>String<\/td>\n<td>The\u00a0ISO 3166-1 Alpha-3 Country Code\u00a0of the country associated to the address selected.<\/td>\n<\/tr>\n<tr>\n<td>Country_PID<\/td>\n<td>String<\/td>\n<td>The\u00a0associated PID\u00a0of the country associated to the address selected.<\/td>\n<\/tr>\n<tr>\n<td>Continent<\/td>\n<td>String<\/td>\n<td>The continent of the result returned.<\/td>\n<\/tr>\n<tr>\n<td>Continent_PID<\/td>\n<td>String<\/td>\n<td>The associated PID of the continent returned.<\/td>\n<\/tr>\n<tr>\n<td>Latitude<\/td>\n<td>String<\/td>\n<td>The latitude coordinate of the centroid of the result returned<\/td>\n<\/tr>\n<tr>\n<td>Longitude<\/td>\n<td>String<\/td>\n<td>The longitude coordinate of the centroid of the result returned<\/td>\n<\/tr>\n<tr>\n<td>CoordinateType<\/td>\n<td>String<\/td>\n<td>The precision level of the coordinate returned. Will be &#8220;centroid&#8221; for this search type<\/td>\n<\/tr>\n<tr>\n<td>PostalCodes<\/td>\n<td>String<\/td>\n<td>A list of all associated postal codes for the result returned.&nbsp;<br \/>\n<em>*Note, currently we will be returning US zip codes but will be expanding this to other countries as we expand on our coming soon search types.<\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>Variations Object for Places Place Variations Object for Places In the following code block we can see that &#8220;variations&#8221; is a parameter passed into the function when the populate event is detected.\u00a0 Additional logic can be added in this function, for example, and can help deal with any additional business logic that is needed to [&hellip;]<\/p>\n","protected":false},"author":21,"featured_media":0,"parent":2321,"menu_order":7,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-9899","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>AC - Place Response<\/title>\n<meta name=\"description\" content=\"Variations Object for Places Place Variations Object for Places In the following code block we can see that &quot;variations&quot; is a parameter passed into the\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.serviceobjects.com\/docs\/dots-global-address-complete\/ac-place-response\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AC - Place Response\" \/>\n<meta property=\"og:description\" content=\"Variations Object for Places Place Variations Object for Places In the following code block we can see that &quot;variations&quot; is a parameter passed into the\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.serviceobjects.com\/docs\/dots-global-address-complete\/ac-place-response\/\" \/>\n<meta property=\"og:site_name\" content=\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-21T02:07:45+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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/dots-global-address-complete\/ac-place-response\/\",\"url\":\"https:\/\/www.serviceobjects.com\/docs\/dots-global-address-complete\/ac-place-response\/\",\"name\":\"AC - Place Response\",\"isPartOf\":{\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#website\"},\"datePublished\":\"2023-10-03T15:19:21+00:00\",\"dateModified\":\"2025-08-21T02:07:45+00:00\",\"description\":\"Variations Object for Places Place Variations Object for Places In the following code block we can see that \\\"variations\\\" is a parameter passed into the\",\"breadcrumb\":{\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/dots-global-address-complete\/ac-place-response\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.serviceobjects.com\/docs\/dots-global-address-complete\/ac-place-response\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/dots-global-address-complete\/ac-place-response\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.serviceobjects.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DOTS Global Address Complete\",\"item\":\"https:\/\/www.serviceobjects.com\/docs\/dots-global-address-complete\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"AC &#8211; Place Response\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#website\",\"url\":\"https:\/\/www.serviceobjects.com\/docs\/\",\"name\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.serviceobjects.com\/docs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#organization\",\"name\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\",\"url\":\"https:\/\/www.serviceobjects.com\/docs\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png\",\"contentUrl\":\"https:\/\/www.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:\/\/www.serviceobjects.com\/docs\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AC - Place Response","description":"Variations Object for Places Place Variations Object for Places In the following code block we can see that \"variations\" is a parameter passed into the","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.serviceobjects.com\/docs\/dots-global-address-complete\/ac-place-response\/","og_locale":"en_US","og_type":"article","og_title":"AC - Place Response","og_description":"Variations Object for Places Place Variations Object for Places In the following code block we can see that \"variations\" is a parameter passed into the","og_url":"https:\/\/www.serviceobjects.com\/docs\/dots-global-address-complete\/ac-place-response\/","og_site_name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","article_modified_time":"2025-08-21T02:07:45+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.serviceobjects.com\/docs\/dots-global-address-complete\/ac-place-response\/","url":"https:\/\/www.serviceobjects.com\/docs\/dots-global-address-complete\/ac-place-response\/","name":"AC - Place Response","isPartOf":{"@id":"https:\/\/www.serviceobjects.com\/docs\/#website"},"datePublished":"2023-10-03T15:19:21+00:00","dateModified":"2025-08-21T02:07:45+00:00","description":"Variations Object for Places Place Variations Object for Places In the following code block we can see that \"variations\" is a parameter passed into the","breadcrumb":{"@id":"https:\/\/www.serviceobjects.com\/docs\/dots-global-address-complete\/ac-place-response\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.serviceobjects.com\/docs\/dots-global-address-complete\/ac-place-response\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.serviceobjects.com\/docs\/dots-global-address-complete\/ac-place-response\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.serviceobjects.com\/docs\/"},{"@type":"ListItem","position":2,"name":"DOTS Global Address Complete","item":"https:\/\/www.serviceobjects.com\/docs\/dots-global-address-complete\/"},{"@type":"ListItem","position":3,"name":"AC &#8211; Place Response"}]},{"@type":"WebSite","@id":"https:\/\/www.serviceobjects.com\/docs\/#website","url":"https:\/\/www.serviceobjects.com\/docs\/","name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","description":"","publisher":{"@id":"https:\/\/www.serviceobjects.com\/docs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.serviceobjects.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.serviceobjects.com\/docs\/#organization","name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","url":"https:\/\/www.serviceobjects.com\/docs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.serviceobjects.com\/docs\/#\/schema\/logo\/image\/","url":"https:\/\/www.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png","contentUrl":"https:\/\/www.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:\/\/www.serviceobjects.com\/docs\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/9899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/comments?post=9899"}],"version-history":[{"count":5,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/9899\/revisions"}],"predecessor-version":[{"id":11597,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/9899\/revisions\/11597"}],"up":[{"embeddable":true,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/2321"}],"wp:attachment":[{"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/media?parent=9899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}