{"id":1867,"date":"2022-11-08T01:08:43","date_gmt":"2022-11-08T01:08:43","guid":{"rendered":"https:\/\/serviceobjects.wpaladdin.com\/?post_type=serviceobjects&#038;p=1867"},"modified":"2022-12-14T22:08:23","modified_gmt":"2022-12-14T22:08:23","slug":"agca-getpostalcodeinfo","status":"publish","type":"page","link":"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/","title":{"rendered":"AGCA &#8211; GetPostalCodeInfo"},"content":{"rendered":"\n<ul class=\"is-style-bullets-list wp-block-list\">\n<li><a href=\"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/#AGCA-GetPostalCodeInfo-URLEndpoints\">URL Endpoints<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/#AGCA-GetPostalCodeInfo-GetPostalCodeInfoInputs\">GetPostalCodeInfo Inputs<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/#AGCA-GetPostalCodeInfo-GetPostalCodeInfoOutputs\">GetPostalCodeInfo Outputs&nbsp;<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/#AGCA-GetPostalCodeInfo-References\">References<\/a><\/li>\n<\/ul>\n\n\n\n<p>This operation is almost exactly like GetGeoLocation, but rather than geocoding given a specific address, DOTS Address Geocode \u2013 CA will geocode given a postal code. The coordinates given are an average centroid of a given postal code and often times match precisely to the street location.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"AGCA-GetPostalCodeInfo-URLEndpoints\">URL Endpoints<\/h2>\n\n\n\n<ul class=\"is-style-no-bullets-indented-list wp-block-list\">\n<li><strong>JSON:<\/strong>&nbsp;\n<ul class=\"wp-block-list\">\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/trial.serviceobjects.com\/GCC\/api.svc\/json\/GetPostalCodeInfo?PostalCode={POSTALCODE}&amp;LicenseKey={LICENSEKEY}\" target=\"_blank\">https:\/\/trial.serviceobjects.com\/GCC\/api.svc\/json\/GetPostalCodeInfo?PostalCode={POSTALCODE}&amp;LicenseKey={LICENSEKEY}<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>XML:<\/strong>&nbsp;\n<ul class=\"wp-block-list\">\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/trial.serviceobjects.com\/GCC\/api.svc\/xml\/GetPostalCodeInfo?PostalCode={POSTALCODE}&amp;LicenseKey={LICENSEKEY}\" target=\"_blank\">https:\/\/trial.serviceobjects.com\/GCC\/api.svc\/xml\/GetPostalCodeInfo?PostalCode={POSTALCODE}&amp;LicenseKey={LICENSEKEY}<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"AGCA-GetPostalCodeInfo-GetPostalCodeInfoInputs\">GetPostalCodeInfo Inputs<\/h2>\n\n\n\n<figure class=\"wp-block-table is-style-table-section\"><table><thead><tr><th>Name<\/th><th>Type<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>Postal Code<\/td><td>String<\/td><td>The postal code to geocode.<\/td><\/tr><tr><td>License Key<\/td><td>String<\/td><td>Your license key to use the service. Sign up for a free trial key at<br><a href=\"https:\/\/www.serviceobjects.com\/address-geocode\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.serviceobjects.com\/address-geocode\/<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"AGCA-GetPostalCodeInfo-GetPostalCodeInfoOutputs\">GetPostalCodeInfo Outputs<\/h2>\n\n\n\n<figure class=\"wp-block-table is-style-table-section\"><table><thead><tr><th>Name<\/th><th>Type<\/th><th>Values<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>Latitude<\/td><td>String<\/td><td>Number<\/td><td>The latitude of the given postal code plus four.<\/td><\/tr><tr><td>Longitude<\/td><td>String<\/td><td>Number<\/td><td>The longitude of the given postal code plus four.<\/td><\/tr><tr><td>Postal Code<\/td><td>String<\/td><td>String<\/td><td>The postal code of the given input.<\/td><\/tr><tr><td>Time Zone<\/td><td>String<\/td><td>String<\/td><td>The time zone of the given postal code.<\/td><\/tr><tr><td>DST<\/td><td>String<\/td><td>Char<\/td><td>Boolean value determines if location uses daylight savings time.<\/td><\/tr><tr><td>Area Code<\/td><td>String<\/td><td>Number<\/td><td>The area code for the given postal code.<\/td><\/tr><tr><td>City<\/td><td>String<\/td><td>String<\/td><td>The city for the given postal code.<\/td><\/tr><tr><td>City Population<\/td><td>String<\/td><td>Number<\/td><td>The city population for the given postal code.<\/td><\/tr><tr><td>Province<\/td><td>String<\/td><td>String<\/td><td>The province for the given postal code.<\/td><\/tr><tr><td><a rel=\"noreferrer noopener\" href=\"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-errors\/\" target=\"_blank\">Error<\/a><\/td><td>Error<\/td><td>Varies<\/td><td>Error object indicating why the service could not return a result.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"AGCA-GetPostalCodeInfo-References\">References<\/h2>\n","protected":false},"excerpt":{"rendered":"<p>This operation is almost exactly like GetGeoLocation, but rather than geocoding given a specific address, DOTS Address Geocode \u2013 CA will geocode given a postal code. The coordinates given are an average centroid of a given postal code and often times match precisely to the street location. URL Endpoints GetPostalCodeInfo Inputs Name Type Description Postal [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1796,"menu_order":1,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1867","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>AGCA - GetPostalCodeInfo<\/title>\n<meta name=\"description\" content=\"URL Endpoints GetPostalCodeInfo Inputs GetPostalCodeInfo Outputs&nbsp; References This operation is almost exactly like GetGeoLocation, but rather than\" \/>\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=\"AGCA - GetPostalCodeInfo\" \/>\n<meta property=\"og:description\" content=\"URL Endpoints GetPostalCodeInfo Inputs GetPostalCodeInfo Outputs&nbsp; References This operation is almost exactly like GetGeoLocation, but rather than\" \/>\n<meta property=\"og:url\" content=\"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/\" \/>\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-14T22:08:23+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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/\",\"url\":\"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/\",\"name\":\"AGCA - GetPostalCodeInfo\",\"isPartOf\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#website\"},\"datePublished\":\"2022-11-08T01:08:43+00:00\",\"dateModified\":\"2022-12-14T22:08:23+00:00\",\"description\":\"URL Endpoints GetPostalCodeInfo Inputs GetPostalCodeInfo Outputs&nbsp; References This operation is almost exactly like GetGeoLocation, but rather than\",\"breadcrumb\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/test.serviceobjects.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DOTS Address Geocode \u2013\u00a0Canada\u00a0\",\"item\":\"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"AGCA &#8211; Operations\",\"item\":\"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"AGCA &#8211; GetPostalCodeInfo\"}]},{\"@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":"AGCA - GetPostalCodeInfo","description":"URL Endpoints GetPostalCodeInfo Inputs GetPostalCodeInfo Outputs&nbsp; References This operation is almost exactly like GetGeoLocation, but rather than","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":"AGCA - GetPostalCodeInfo","og_description":"URL Endpoints GetPostalCodeInfo Inputs GetPostalCodeInfo Outputs&nbsp; References This operation is almost exactly like GetGeoLocation, but rather than","og_url":"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/","og_site_name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","article_modified_time":"2022-12-14T22:08:23+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/","url":"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/","name":"AGCA - GetPostalCodeInfo","isPartOf":{"@id":"https:\/\/test.serviceobjects.com\/docs\/#website"},"datePublished":"2022-11-08T01:08:43+00:00","dateModified":"2022-12-14T22:08:23+00:00","description":"URL Endpoints GetPostalCodeInfo Inputs GetPostalCodeInfo Outputs&nbsp; References This operation is almost exactly like GetGeoLocation, but rather than","breadcrumb":{"@id":"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/test.serviceobjects.com\/docs\/"},{"@type":"ListItem","position":2,"name":"DOTS Address Geocode \u2013\u00a0Canada\u00a0","item":"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/"},{"@type":"ListItem","position":3,"name":"AGCA &#8211; Operations","item":"https:\/\/test.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/"},{"@type":"ListItem","position":4,"name":"AGCA &#8211; GetPostalCodeInfo"}]},{"@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\/1867","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/comments?post=1867"}],"version-history":[{"count":11,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/1867\/revisions"}],"predecessor-version":[{"id":8210,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/1867\/revisions\/8210"}],"up":[{"embeddable":true,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/1796"}],"wp:attachment":[{"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/media?parent=1867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}