Global Address Object:Output Parameters: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
 
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Global Address Object:Reference|← Global Address Object Reference]]
{{GlobalAddressObjectNav
|ParametersCollapse=
}}


{| class="mw-collapsible" cellspacing="2" style="background-color:#f9f9f9; border:1px solid #aaaaaa; font-size:9pt; color:#0645ad; padding:8px 8px;"
{{CustomTOC}}
! style="text-align:left; color:black; border-bottom:1px solid #aaaaaa;"|'''Global Address Object Navigation'''
 
|-  
 
| style="padding-right:220px;"|
Though they are listed in mixed case, the parameters are not case sensitive.
 
==Output Detail Parameters==
<h3 class="h3grey">buildNumber</h3>
:Build number of the Global Address Object API.
 
 
<h3 class="h3grey">databaseDate</h3>
:Release date of the database.
 
 
<h3 class="h3grey">databaseExpirationDate</h3>
:Expiration date of the database.
 
 
<h3 class="h3grey">dst</h3>
:A true/false value delineating if the given address is in a time zone that supports Daylight Savings Time (DST).
 
 
<h3 class="h3grey">initializeErrorString</h3>
:An error string detailing any failure or error in initializing the reference data file(s) and/or Global Address Object.
 
 
<h3 class="h3grey">licenseStringExpirationDate</h3>
:Expiration date for the License Key set with [[Global Address Object:Setup Methods#SetLicenseString|SetLicenseString]].
 
 
<h3 class="h3grey">remnants</h3>
:Any elements parsed from the input address data which could not be processed or were not relevant to the address processing are returned in the remnant parameter.
 
 
<h3 class="h3grey">resultCodes</h3>
:Result code(s) generated for the address.
 
:Reference [[Result Code Details#Global Address Object|Global Address Object Result Codes]] for more information.
 
 
<h3 class="h3grey">timezone</h3>
:Name of the timezone of the address.
 
 
<h3 class="h3grey">utc</h3>
:Coordinated Universal Time (Universal Time Coordinated). Code that designates the UTC offset for the given time zone of the address. This does not indicate differences due to daylight savings time.
 
 
==Output Address Parameters==
<h3 class="h3grey">organization</h3>
:This is a string value that matches the Organization request element. It is not modified or populated by the service.
 
:'''US Term:''' Business or Company
 
 
<h3 class="h3grey">addressLine1</h3>
:These are the string values that will return the standardized or corrected contents of the input address. These lines will include the entire address including the locality, administrative area, and postal code.
 
 
<h3 class="h3grey">addressLine2</h3>
:These are the string values that will return the standardized or corrected contents of the input address. These lines will include the entire address including the locality, administrative area, and postal code.
 
 
<h3 class="h3grey">addressLine3</h3>
:These are the string values that will return the standardized or corrected contents of the input address. These lines will include the entire address including the locality, administrative area, and postal code.
 
 
<h3 class="h3grey">addressLine4</h3>
:These are the string values that will return the standardized or corrected contents of the input address. These lines will include the entire address including the locality, administrative area, and postal code.
 
 
<h3 class="h3grey">addressLine5</h3>
:These are the string values that will return the standardized or corrected contents of the input address. These lines will include the entire address including the locality, administrative area, and postal code.
 
 
<h3 class="h3grey">addressLine6</h3>
:These are the string values that will return the standardized or corrected contents of the input address. These lines will include the entire address including the locality, administrative area, and postal code.
 
 
<h3 class="h3grey">addressLine7</h3>
:These are the string values that will return the standardized or corrected contents of the input address. These lines will include the entire address including the locality, administrative area, and postal code.
 
 
<h3 class="h3grey">addressLine8</h3>
:These are the string values that will return the standardized or corrected contents of the input address. These lines will include the entire address including the locality, administrative area, and postal code.
 
 
<h3 class="h3grey">deliveryLine</h3>
:The delivery portion of the full address, from the sub-premise and house number to the street information. This does not include area information like doubledependent locality, dependent locality, locality, administrative area, and postal code if those values are available for the country.
 
 
<h3 class="h3grey">localityLine</h3>
:The locality information of the full address. This includes information such as doubledependent locality, dependent locality, locality, administrative area, and postal code if those values are available for the country. This does not include sub-premise and house number to the thoroughfare information.
 
 
<h3 class="h3grey">formattedAddress</h3>
:Mailing address. The full mailing address in the preferred format for the country of the address. This includes the Organization as the first line, one or more lines in the origin country’s format, and the destination country (if required). Separate lines will be delimited by what is specified in the option.
 
 
<h3 class="h3grey">DeliveryPointSuffix</h3>
:This is a country dependent field. This field returns an identifier that represents a suffix code usually tied to a delivery point.
 
:;US
::This returns the 2 digit delivery point assigned by the USPS to an DPV validated address.
 
:;GB
::This is a 2 character (first is numerical, 2nd character is alphabetic) that is assigned by Royal Mail. When added to the postal code, this allows each live delivery point to be uniquely identified.
 
 
<h3 class="h3grey">AddressTypeCode</h3>
:This is a country dependent field. This field returns a code to identify the type of address that the input is identified as.
 
:;US
::{| class="alternate01"
!Code !! Description
|-
|-
|
|A||Alias
{| class="mw-collapsible mw-collapsed" style="width:100%;"
|- align="left"
! style="color:black;"|[[Global Address Object:Introduction|Introduction]]
|-
|-
|[[Global Address Object:Platforms and Functions|Platforms and Functions]]
|F||Firm or Company
|-
|-
|[[Global Address Object:Licensing|Licensing]]
|G||General Delivery
|-
|-
|[[Global Address Object:Result Code Use|Result Code Use]]
|H||Highrise or Business Complex
|-
|P||PO Box
|-
|R||Rural Route
|-
|S||Street or Residential
|}
|}
:;CA
::{| class="alternate01"
!Code !! Description
|-
|-
|
|1||Street
{| class="mw-collapsible mw-collapsed" style="width:100%;"
|- align="left"
! style="color:black;"|[[Global Address Object:Interface|Interface]]
|-
|-
|[[Global Address Object:Address Handling|Address Handling]]
|2||Street Served by Route and GD
|-
|-
|[[Global Address Object:Interface Use|Interface Use]]
|3||Lock Box
|}
|-
|4||Route Service
|-
|5||General Delivery
|-
|B||LVR Street
|-
|-
|
|C||Government Street
{| class="mw-collapsible mw-collapsed" style="width:100%;"
|- align="left"
! style="color:black;"|[[Global Address Object:Functions|Functions]]
|-
|-
|[[Global Address Object:Setup Functions|Setup Functions]]
|D||LVR Lock Box
|-
|-
|[[Global Address Object:Input Methods|Input Methods]]
|E||Government Lock Box
|-
|-
|[[Global Address Object:Processing Methods|Processing Methods]]
|L||LVR General Delivery
|-
|-
|[[Global Address Object:Output Methods|Output Methods]]
|K||Building
|}
|}
:;GB
::{| class="alternate01"
!Code !! Description
|-
|-
|
|L||This address is identified as having a large user postal code. This is due to the large volume of mail received at that address, or because a PO Box or Selectapost service has been set up.
{| class="mw-collapsible" style="width:100%;"
|- align="left"
! style="color:black;"|[[Global Address Object:Parameters|Parameters]]
|-
|-
|[[Global Address Object:Processing Configuration Parameters|Processing Configuration Parameters]]
|S||This address is identified as having a smaller user postal code. This means this postal code will have usually around 15 delivery points but never more than 100.
|}
 
 
<h3 class="h3grey">AddressKey</h3>
:This is a country dependent field. This field returns an identifier that is used in the country by the official postal agency or another well-recognized agency or standard.
 
:;US:This returns a 11 digit code representing the combination of the zip code, the plus4, and the delivery point. This is a fairly good representation of a unique US address and often used as the core of postal barcode. However, this code is not guaranteed to be unique to an individual address, please use the MelissaAddressKey instead for that purpose. It is possible that this field is empty or not 11 digits if the address is a Non-USPS address.
 
:;GB
::This field returns the UDPRN, which stands for Unique Delivery Point Reference Number. It is a 8 character code that is assigned and maintained by Royal Mail to each delivery point address.
 
 
<h3 class="h3grey">MelissaAddressKey</h3>
:This is a globally unique and persistent key for the location, even if parts of the address change. When an address is fully validated this field returns a 10-digit proprietary key for the address. Currently available for US, AT, AU, BE, BM, BR, CA, CH, DE, DK, ES, FR, GB, IE, IS, IT, KR, LT, MC, NC, NL, NO, PT, SG, SI, and TR with many more countries planned for the future.
 
:With AddressKey (US and Canada only), if an address zip code changes, the AddressKey would also change. Melissa Address Key (MAK) is independent and will not change. This makes MAK a good way to permanently identify and locate addresses. Once you have a MAK it can be used as an input in most Melissa services and thus is a good tool for deduping.
 
 
<h3 class="h3grey">MelissaAddressKeyBase</h3>
:Every full address has its own Melissa Address Key (MAK).  If that address is a suites or apartment, we will also return a Melissa Address Key Base (BaseMAK) that corresponds to the overall building. This provides a link between all the individual MAK addresses that belong to the same building. This field also returns a 10-digit proprietary key. Note, if we can validate the address to the building but not the suite, we can return just the BaseMAK.
 
 
==Parsed Sub-Premises Parameters==
<h3 class="h3grey">building</h3>
:Descriptive name identifying an individual location. This is a string value that is the parsed Building element from the output.
 
 
<h3 class="h3grey">subBuilding</h3>
:Descriptive name identifying an individual location. More specific than building. This is a string value that is the parsed '''premisesType''' parameter from the output.
 
 
<h3 class="h3grey">subBuildingNumber</h3>
:Sub building number indicator within building field. Parsed from the '''subBuilding''' parameter.
 
 
<h3 class="h3grey">subBuildingType</h3>
:Sub building type indicator within building field. Parsed from the '''subBuilding''' parameter.
 
 
<h3 class="h3grey">subPremises</h3>
:Alphanumeric code identifying an individual location. More specific than premises.
 
:'''US Term:''' Suite
 
 
<h3 class="h3grey">subPremisesNumber</h3>
:Sub premises number indicator within premises field. Parsed from the '''subPremises''' parameter.
 
:'''US Term:''' Suite Number
 
 
<h3 class="h3grey">subPremisesType</h3>
:Sub premises type indicator within premises field. Parsed from the '''subPremises''' parameter.
 
:'''US Term:''' Suite Name
 
 
<h3 class="h3grey">subPremisesLevel</h3>
:Alphanumeric code identifying an individual location. More specific than sub premises.
 
 
<h3 class="h3grey">subPremisesLevelNumber</h3>
:Sub premises level number indicator within premises field. Parsed from the '''subPremisesLevel''' parameter.
 
 
<h3 class="h3grey">subPremisesLevelType</h3>
:Sub premises level type indicator within premises field. Parsed from the '''subPremisesLevel''' parameter.
 
 
==Parsed Thoroughfare Parameters==
<h3 class="h3grey">premises</h3>
:'''US Term:''' Street Number
 
 
<h3 class="h3grey">premisesNumber</h3>
:Alphanumeric indicator within premises field. Parsed from the '''premises''' parameter.
 
:'''US Term:''' House Number
 
 
<h3 class="h3grey">premisesType</h3>
:Leading premise type indicator within premises field. Parsed from the '''premises''' parameter.
 
 
<h3 class="h3grey">thoroughfare</h3>
:This value is a part of the address lines and contains all the sub-elements of the thoroughfare like trailing type, thoroughfare name, pre direction, post direction, etc.
 
:'''US Term:''' Street
 
 
<h3 class="h3grey">thoroughfareLeadingType</h3>
:Leading thoroughfare type indicator parsed from the '''thoroughfare''' parameter. A leading type is a thoroughfare type that is placed before the thoroughfare. This value is a part of the Thoroughfare field. For example, the thoroughfare type of "Rue" in Canada and France is placed before the thoroughfare, making it a leading type.
 
:'''US Term:''' Not used in the US
 
 
<h3 class="h3grey">thoroughfareName</h3>
:Name indicator parsed from the '''thoroughfare''' parameter.
 
:'''US Term:''' Street Name
 
 
<h3 class="h3grey">thoroughfarePostDirection</h3>
:Postfix directional parsed from the '''thoroughfare''' parameter.
 
:'''US Term:''' Post Direction
 
 
<h3 class="h3grey">thoroughfarePreDirection</h3>
:Prefix directional parsed from the '''thoroughfare''' parameter.
 
:'''US Term:''' Pre Direction
 
 
<h3 class="h3grey">thoroughfareTrailingType</h3>
:Trailing thoroughfare type indicator parsed from the '''thoroughfare''' parameter. A trailing type is a thoroughfare type that is placed after the thoroughfare. This value is a part of the Thoroughfare field. For example, the thoroughfare type of "Avenue" in the US is placed after the thoroughfare, making it a trailing type.
 
:'''US Term:''' Street Suffix
 
 
<h3 class="h3grey">thoroughfareTypeAttached</h3>
:Thoroughfare type connected to the thoroughfare name without a space. This is common in Germany. For example, "Berlinerstr." "str." stands for strasse and is the thoroughfare type attached, while "Berliner" is the thoroughfare name.
 
 
==Parsed Dependent Thoroughfare Columns==
<h3 class="h3grey">dependentThoroughfare</h3>
:Block data element or dependent street. This is used when there are more than one thoroughfares with the same name in one locality. An adjoining thoroughfare is used to uniquely identify the target thoroughfare. This is rarely used.
 
:'''US Term:''' Dependent Street
 
 
<h3 class="h3grey">dependentThoroughfareLeadingType</h3>
:Thoroughfare type at the beginning of the dependent thoroughfare. The leading type is parsed from the '''dependentThoroughfare''' parameter. For example, if the dependent thoroughfare is "St. Hickory E," the dependent thoroughfare leading type would be "St."
 
 
<h3 class="h3grey">dependentThoroughfareName</h3>
:Dependent thoroughfare name parsed from the '''dependentThoroughfare''' parameter. For example, if the dependent thoroughfare is "E Hickory Ln," the dependent thoroughfare name would be "Hickory."
 
 
<h3 class="h3grey">dependentThoroughfarePostDirection</h3>
:Cardinal directional at the end of the dependent thoroughfare. The postfix directional is parsed from the '''dependentThoroughfare''' parameter. For example, if the dependent thoroughfare is "Hickory Ln N," the dependent thoroughfare post direction would be "N."
 
 
<h3 class="h3grey">dependentThoroughfarePreDirection</h3>
:Cardinal directional at the beginning of the dependent thoroughfare. The prefix directional is parsed from the '''dependentThoroughfare''' parameter. For example, if the dependent thoroughfare is "W Hickory Ln," the dependent thoroughfare pre direction would be "W."
 
 
<h3 class="h3grey">dependentThoroughfareTrailingType</h3>
:Thoroughfare type at the end of the dependent thoroughfare. The trailing type is parsed from the '''dependentThoroughfare''' parameter. For example, if the dependent thoroughfare is "W Hickory Ln," the dependent thoroughfare trailing type would be "Ln."
 
 
<h3 class="h3grey">dependentThoroughfareTypeAttached</h3>
:Dependent thoroughfare type connected to the dependent thoroughfare name without a space. This is common in Germany. For example, "Berlinerstr." "str." stands for strasse and is the dependent thoroughfare type attached, while "Berliner" is the dependent thoroughfare name.
 
 
==Parsed Postal Facility Columns==
<h3 class="h3grey">postBox</h3>
:Post box information for a particular delivery point.
 
 
<h3 class="h3grey">postalCode</h3>
:Complete postal code for a particular delivery point. In U.S. plus 4 is not required but will be appended if address is verified. Most countries have some form of a postal code system.
 
:'''US Term:''' Zip Code
 
 
<h3 class="h3grey">postOfficeLocation</h3>
 
 
==Parsed Regional Columns==
<h3 class="h3grey">administrativeArea</h3>
:This is a common geographic area unit for larger countries. Often referred to as State or Province.
 
:'''US Term:''' State
 
 
<h3 class="h3grey">countyName</h3>
:'''US Only'''. Sub Administrative Area. Smallest geographic data element.
 
 
<h3 class="h3grey">dependentLocality</h3>
:A dependent locality is a logical area unit that is smaller than a locality but larger than a double dependent locality or thoroughfare. It can often be associated with a neighborhood or sector. Great Britain is an example of a country that uses double dependent locality. In the United States, this would correspond to Urbanization, which is used only in Puerto Rico.
 
:'''US Term:''' Urbanization
 
 
<h3 class="h3grey">doubleDependentLocality</h3>
:A double dependent locality is a logical area unit that is smaller than a dependent locality but bigger than a thoroughfare. This field is very rarely used. Great Britain is an example of a country that uses double dependent locality.
 
 
<h3 class="h3grey">locality</h3>
:This is the most common geographic area and used by virtually all countries. This is usually the value that is written on a mailing label and referred to by terms like City, Town, Postal Town, etc.
 
:'''US Term:''' City
 
 
<h3 class="h3grey">subAdministrativeArea</h3>
:This is a logical area that that is smaller than the administrative area but larger than a locality. While many countries can have a sub-administrative area value, it is very rarely used as part of an official address.
 
:'''US Term:''' County
 
 
<h3 class="h3grey">subNationalArea</h3>
:A sub-national area is a logical area unit that is larger than an administrative area but smaller than the country itself. It is extremely rarely used.
 
 
==Extra Output Address Parameters==
<h3 class="h3grey">latitude</h3>
:North-south geographic coordinate for a particular delivery point.
 
 
<h3 class="h3grey">longitude</h3>
:East-west geographic coordinate for a particular delivery point.
 
 
==Extra Output Country Parameters==
<h3 class="h3grey">countryName</h3>
:Full country name. Can be a nickname.
 
 
<h3 class="h3grey">iso2Code</h3>
:ISO 3166 2-character country code.
 
:For example:
 
:{| class="alternate01"
!Country !! Code
|-
|-
|[[Global Address Object:Input Address Data Parameters|Input Address Data Parameters]]
|United States||US
|-
|-
|[[Global Address Object:Output Address Data Parameters|Output Address Data Parameters]]
|Canada||CA
|-
|Philippines||PH
|}
|}
<h3 class="h3grey">iso3Code</h3>
:ISO 3166 3-character country code.
:For example:
:{| class="alternate01"
!Country !! Code
|-
|-
|
|United States||USA
{| class="mw-collapsible mw-collapsed" style="width:100%;"
|- align="left"
! style="color:black;"|[[Global Address Object:Result Codes|Result Codes]]
|-
|-
|[[Returned Result Codes:APIs#Global Address Object|Returned Result Codes]]
|Canada||CAN
|-
|-
|[[Global Address Object:Other Codes|Other Codes]]
|Philippines||PHL
|}
|}
<h3 class="h3grey">isoCountryNumber</h3>
:ISO 3166 3-digit numeric country code.
:For example:
:{| class="alternate01"
!Country !! Code
|-
|United States||840
|-
|Canada||124
|-
|Philippines||608
|}
|}




{{CustomTOC}}
<h3 class="h3grey">CountrySubdivisionCode</h3>
:This field returns the ISO 3166-2 country sub-division code. This code is part of the ISO 3166 international standard to represent the relevant administrative divisions and dependent territories for a country. For most countries, this code is tied to the administrative area. Not all countries currently return this code but we are planning on adding more.
 
 
<h3 class="h3grey">formalCountryName</h3>
:Official Name for the country.
 
 
==US Only Output Parameters==
<h3 class="h3grey">USCityAbbreviation</h3>
:Get the abbreviated city name.
 
 
<h3 class="h3grey">USPlus4</h3>
:Get the plus4 by itself.
 
 
<h3 class="h3grey">USCarrierRoute</h3>
:Get the Carrier Route.
 
 
<h3 class="h3grey">USDeliveryPointCode</h3>
:Get the 2 digit delivery point code
 
 
<h3 class="h3grey">USDeliveryPointCheckDigit</h3>
:Get the 1 digit devliery point check digit
 
 
<h3 class="h3grey">USCongressionalDistrict</h3>
:Get the congressional district number of the address
 


Though they are listed in mixed case, the parameters are not case sensitive.
<h3 class="h3grey">DeliveryIndicator</h3>
:This field returns a one character code that indicates if the address is a residence (R), business (B), or unknown (U). It is not available for all countries. Currently, it is available only for the US but more countries are planned for future inclusion.


==Organization==
===outputOrganization===
The name of an organization provided as output for address processing.


<h3 class="h3grey">USCensusTract</h3>
:Census Tract value


==Address Lines==
Output values for address lines 1-8.


===outputAddressLine1===
<h3 class="h3grey">USCensusBlock</h3>
:Census Block value


===outputAddressLine2===


===outputAddressLine3===
<h3 class="h3grey">USBlockSuffix</h3>
:Census Block Suffix


===outputAddressLine4===


===outputAddressLine5===
<h3 class="h3grey">USCountyFips</h3>
:County FIPS number


===outputAddressLine6===


===outputAddressLine7===
<h3 class="h3grey">USCountyName</h3>
:County Name


===outputAddressLine8===


===outputFormattedAddress===
<h3 class="h3grey">USPlaceCode</h3>
This parameter provides for the output of all address lines in a single string value with the defined '''lineSeparator''' for parsing.
:Census Place Code




==Locality Levels==
<h3 class="h3grey">USPlaceName</h3>
These include village, town, city, borough, and district.
:Census Place Name


===outputDoubleDependentLocality===
Specifies the distinct output value for double dependent locality. This is a string value for the smallest population center data element. This depends on the Locality and DependentLocality elements.


===outputDependentLocality===
<h3 class="h3grey">USCBSACode</h3>
Specifies the distinct output value for dependent locality. This is a string value for a smaller population center data element and depends on the Locality element. For example, an urbanization in Puerto Rico.
:Census CBSA Code


===outputLocality===
Specifies the distinct output value for locality. This is a string value for the most common population center data element. For example, a city or municipality.


===outputPostalCode===
<h3 class="h3grey">USCBSATitle</h3>
Specifies the distinct output value for postal code.  In the US this is a zip code and not all countries support a postal code. To receive a valid result all output addresses should contain a postal code, locality, and/or administrative area.
:Census CBSA Title




==Administrative Area and Higher==
<h3 class="h3grey">USCBSALevel</h3>
These include province, state, county, prefecture, territory, and country. All outputs are formed based on accepted postal formatting standards in the destination country.
:Census CBSA Level


===outputSubAdministrativeArea===
This is the smallest geographic data element. In the US this would be county, but can vary based on individual countries' organization structure.


===outputAdministrativeArea===
<h3 class="h3grey">USCBSADivisionCode</h3>
This is the most common geographic data element. This is a state or province in countries like the United States, Canada, and Australia.
:Census CBSA Division Code


===outputSubNationalArea===
This is a country specific administrative classification at an arbitrary level below country. For example, a prefecture in Japan or a canton in Switzerland.


===outputCountry===
<h3 class="h3grey">USCBSADivisionTitle</h3>
This is the output country name, code, number, or abbreviation
:Census CBSA Division Title


===outputCountryCode===
This is the output ISO2 or ISO3 country code.


===outputCountryNumber===
<h3 class="h3grey">USCBSADivisionLevel</h3>
This is the output ISO country number.
:Census CBSA Division Level




==Address Thoroughfare and Premise==
<h3 class="h3grey">USCensusKey</h3>
===outputPostBox===
:Census Key value
This is the output value for Post Office Box.


===outputPremiseNumber===
This is the house number or premise number for the output address.


===outputPremiseType===
<h3 class="h3grey">USCountySubdivisionCode</h3>
:Census County Subdivision Code


===outputsubpremiseNumber===


===outputsubpremiseType===
<h3 class="h3grey">USCountySubdivisionName</h3>
:Census County Subdivision Name


===outputThoroughfareLeadingType===


===outputThoroughfare===
<h3 class="h3grey">USElementarySchoolDistrictCode</h3>
:Elementary School District Code


===outputThoroughfareName===


===outputPremise===
<h3 class="h3grey">USElementarySchoolDistrictName</h3>
:Elementary School District Name


===outputThoroughfarePostDirection===


===outputThoroughfarePreDirection===
<h3 class="h3grey">USSecondarySchoolDistrictCode</h3>
:Secondary School District Code


===outputThoroughfareTrailingType===


===outputThoroughfareTrailingTypeAttached===
<h3 class="h3grey">USSecondarySchoolDistrictName</h3>
:Secondary School District Name




<h3 class="h3grey">USUnifiedSchoolDistrictCode</h3>
:Secondary School District Code


==Other Output Parameters==
===remnant===
Any elements parsed from the input address data which could not be processed or were not relevant to the address processing are returned in the remnant parameter.


===outputXML===
<h3 class="h3grey">USUnifiedSchoolDistrictName</h3>
Address Output formed utilizing the Melissa Data published DTD for XML. The XML ''<u>will</u>'' include all address elements returned from verifyAddress.
:Secondary School District Name


===outputDST===
Outputs a true/false value delineating if the given address is in a time zone that supports Daylight Savings Time (DST).


===outputTimeZone===
<h3 class="h3grey">USStateDistrictLower</h3>
Outputs named time zone for the given address.
:State Lower Congressional District Number


===outputUTC===
Outputs the UTC offset for the time in the given time zone of the address.


===outputLanguage===
<h3 class="h3grey">USStateDistrictUpper</h3>
Outputs the supported language in the country of the address.
:State Upper Congressional District Number


===outputAlphabet===
Outputs the name of the alphabet used in the address output result.


===resultCode===
<h3 class="h3grey">USZipType</h3>
This parameter returns the result code(s) scoring the address results from the Global Address Object.
:Returns the Zip Type for US


===detailCode===
:{| class="alternate01"
This parameter returns the detail code for the given address output.
!Code !! Description
|-
| ||A blank zip type is a regular zip
|-
|P||Zip code specifically for PO Boxes
|-
|U||Unique Zip Code
|-
|M||Military Zip Code
|}




[[Category:Global Address Object]]
[[Category:Global Address Object]]
[[Category:Reference]]
[[Category:Reference]]

Latest revision as of 16:20, 1 February 2024

← Global Address Object Reference

Global Address Object Navigation
Introduction
System Requirements
Setup
Licensing
Interface
Address Handling
Interface Use
Methods
Setup Methods
Input Methods
Processing Methods
Output Methods
Parameters
Input Parameters
Output Parameters
Result Codes
Global Address Object Result Codes
Other Codes




Though they are listed in mixed case, the parameters are not case sensitive.

Output Detail Parameters

buildNumber

Build number of the Global Address Object API.


databaseDate

Release date of the database.


databaseExpirationDate

Expiration date of the database.


dst

A true/false value delineating if the given address is in a time zone that supports Daylight Savings Time (DST).


initializeErrorString

An error string detailing any failure or error in initializing the reference data file(s) and/or Global Address Object.


licenseStringExpirationDate

Expiration date for the License Key set with SetLicenseString.


remnants

Any elements parsed from the input address data which could not be processed or were not relevant to the address processing are returned in the remnant parameter.


resultCodes

Result code(s) generated for the address.
Reference Global Address Object Result Codes for more information.


timezone

Name of the timezone of the address.


utc

Coordinated Universal Time (Universal Time Coordinated). Code that designates the UTC offset for the given time zone of the address. This does not indicate differences due to daylight savings time.


Output Address Parameters

organization

This is a string value that matches the Organization request element. It is not modified or populated by the service.
US Term: Business or Company


addressLine1

These are the string values that will return the standardized or corrected contents of the input address. These lines will include the entire address including the locality, administrative area, and postal code.


addressLine2

These are the string values that will return the standardized or corrected contents of the input address. These lines will include the entire address including the locality, administrative area, and postal code.


addressLine3

These are the string values that will return the standardized or corrected contents of the input address. These lines will include the entire address including the locality, administrative area, and postal code.


addressLine4

These are the string values that will return the standardized or corrected contents of the input address. These lines will include the entire address including the locality, administrative area, and postal code.


addressLine5

These are the string values that will return the standardized or corrected contents of the input address. These lines will include the entire address including the locality, administrative area, and postal code.


addressLine6

These are the string values that will return the standardized or corrected contents of the input address. These lines will include the entire address including the locality, administrative area, and postal code.


addressLine7

These are the string values that will return the standardized or corrected contents of the input address. These lines will include the entire address including the locality, administrative area, and postal code.


addressLine8

These are the string values that will return the standardized or corrected contents of the input address. These lines will include the entire address including the locality, administrative area, and postal code.


deliveryLine

The delivery portion of the full address, from the sub-premise and house number to the street information. This does not include area information like doubledependent locality, dependent locality, locality, administrative area, and postal code if those values are available for the country.


localityLine

The locality information of the full address. This includes information such as doubledependent locality, dependent locality, locality, administrative area, and postal code if those values are available for the country. This does not include sub-premise and house number to the thoroughfare information.


formattedAddress

Mailing address. The full mailing address in the preferred format for the country of the address. This includes the Organization as the first line, one or more lines in the origin country’s format, and the destination country (if required). Separate lines will be delimited by what is specified in the option.


DeliveryPointSuffix

This is a country dependent field. This field returns an identifier that represents a suffix code usually tied to a delivery point.
US
This returns the 2 digit delivery point assigned by the USPS to an DPV validated address.
GB
This is a 2 character (first is numerical, 2nd character is alphabetic) that is assigned by Royal Mail. When added to the postal code, this allows each live delivery point to be uniquely identified.


AddressTypeCode

This is a country dependent field. This field returns a code to identify the type of address that the input is identified as.
US
Code Description
A Alias
F Firm or Company
G General Delivery
H Highrise or Business Complex
P PO Box
R Rural Route
S Street or Residential
CA
Code Description
1 Street
2 Street Served by Route and GD
3 Lock Box
4 Route Service
5 General Delivery
B LVR Street
C Government Street
D LVR Lock Box
E Government Lock Box
L LVR General Delivery
K Building
GB
Code Description
L This address is identified as having a large user postal code. This is due to the large volume of mail received at that address, or because a PO Box or Selectapost service has been set up.
S This address is identified as having a smaller user postal code. This means this postal code will have usually around 15 delivery points but never more than 100.


AddressKey

This is a country dependent field. This field returns an identifier that is used in the country by the official postal agency or another well-recognized agency or standard.
US
This returns a 11 digit code representing the combination of the zip code, the plus4, and the delivery point. This is a fairly good representation of a unique US address and often used as the core of postal barcode. However, this code is not guaranteed to be unique to an individual address, please use the MelissaAddressKey instead for that purpose. It is possible that this field is empty or not 11 digits if the address is a Non-USPS address.
GB
This field returns the UDPRN, which stands for Unique Delivery Point Reference Number. It is a 8 character code that is assigned and maintained by Royal Mail to each delivery point address.


MelissaAddressKey

This is a globally unique and persistent key for the location, even if parts of the address change. When an address is fully validated this field returns a 10-digit proprietary key for the address. Currently available for US, AT, AU, BE, BM, BR, CA, CH, DE, DK, ES, FR, GB, IE, IS, IT, KR, LT, MC, NC, NL, NO, PT, SG, SI, and TR with many more countries planned for the future.
With AddressKey (US and Canada only), if an address zip code changes, the AddressKey would also change. Melissa Address Key (MAK) is independent and will not change. This makes MAK a good way to permanently identify and locate addresses. Once you have a MAK it can be used as an input in most Melissa services and thus is a good tool for deduping.


MelissaAddressKeyBase

Every full address has its own Melissa Address Key (MAK). If that address is a suites or apartment, we will also return a Melissa Address Key Base (BaseMAK) that corresponds to the overall building. This provides a link between all the individual MAK addresses that belong to the same building. This field also returns a 10-digit proprietary key. Note, if we can validate the address to the building but not the suite, we can return just the BaseMAK.


Parsed Sub-Premises Parameters

building

Descriptive name identifying an individual location. This is a string value that is the parsed Building element from the output.


subBuilding

Descriptive name identifying an individual location. More specific than building. This is a string value that is the parsed premisesType parameter from the output.


subBuildingNumber

Sub building number indicator within building field. Parsed from the subBuilding parameter.


subBuildingType

Sub building type indicator within building field. Parsed from the subBuilding parameter.


subPremises

Alphanumeric code identifying an individual location. More specific than premises.
US Term: Suite


subPremisesNumber

Sub premises number indicator within premises field. Parsed from the subPremises parameter.
US Term: Suite Number


subPremisesType

Sub premises type indicator within premises field. Parsed from the subPremises parameter.
US Term: Suite Name


subPremisesLevel

Alphanumeric code identifying an individual location. More specific than sub premises.


subPremisesLevelNumber

Sub premises level number indicator within premises field. Parsed from the subPremisesLevel parameter.


subPremisesLevelType

Sub premises level type indicator within premises field. Parsed from the subPremisesLevel parameter.


Parsed Thoroughfare Parameters

premises

US Term: Street Number


premisesNumber

Alphanumeric indicator within premises field. Parsed from the premises parameter.
US Term: House Number


premisesType

Leading premise type indicator within premises field. Parsed from the premises parameter.


thoroughfare

This value is a part of the address lines and contains all the sub-elements of the thoroughfare like trailing type, thoroughfare name, pre direction, post direction, etc.
US Term: Street


thoroughfareLeadingType

Leading thoroughfare type indicator parsed from the thoroughfare parameter. A leading type is a thoroughfare type that is placed before the thoroughfare. This value is a part of the Thoroughfare field. For example, the thoroughfare type of "Rue" in Canada and France is placed before the thoroughfare, making it a leading type.
US Term: Not used in the US


thoroughfareName

Name indicator parsed from the thoroughfare parameter.
US Term: Street Name


thoroughfarePostDirection

Postfix directional parsed from the thoroughfare parameter.
US Term: Post Direction


thoroughfarePreDirection

Prefix directional parsed from the thoroughfare parameter.
US Term: Pre Direction


thoroughfareTrailingType

Trailing thoroughfare type indicator parsed from the thoroughfare parameter. A trailing type is a thoroughfare type that is placed after the thoroughfare. This value is a part of the Thoroughfare field. For example, the thoroughfare type of "Avenue" in the US is placed after the thoroughfare, making it a trailing type.
US Term: Street Suffix


thoroughfareTypeAttached

Thoroughfare type connected to the thoroughfare name without a space. This is common in Germany. For example, "Berlinerstr." "str." stands for strasse and is the thoroughfare type attached, while "Berliner" is the thoroughfare name.


Parsed Dependent Thoroughfare Columns

dependentThoroughfare

Block data element or dependent street. This is used when there are more than one thoroughfares with the same name in one locality. An adjoining thoroughfare is used to uniquely identify the target thoroughfare. This is rarely used.
US Term: Dependent Street


dependentThoroughfareLeadingType

Thoroughfare type at the beginning of the dependent thoroughfare. The leading type is parsed from the dependentThoroughfare parameter. For example, if the dependent thoroughfare is "St. Hickory E," the dependent thoroughfare leading type would be "St."


dependentThoroughfareName

Dependent thoroughfare name parsed from the dependentThoroughfare parameter. For example, if the dependent thoroughfare is "E Hickory Ln," the dependent thoroughfare name would be "Hickory."


dependentThoroughfarePostDirection

Cardinal directional at the end of the dependent thoroughfare. The postfix directional is parsed from the dependentThoroughfare parameter. For example, if the dependent thoroughfare is "Hickory Ln N," the dependent thoroughfare post direction would be "N."


dependentThoroughfarePreDirection

Cardinal directional at the beginning of the dependent thoroughfare. The prefix directional is parsed from the dependentThoroughfare parameter. For example, if the dependent thoroughfare is "W Hickory Ln," the dependent thoroughfare pre direction would be "W."


dependentThoroughfareTrailingType

Thoroughfare type at the end of the dependent thoroughfare. The trailing type is parsed from the dependentThoroughfare parameter. For example, if the dependent thoroughfare is "W Hickory Ln," the dependent thoroughfare trailing type would be "Ln."


dependentThoroughfareTypeAttached

Dependent thoroughfare type connected to the dependent thoroughfare name without a space. This is common in Germany. For example, "Berlinerstr." "str." stands for strasse and is the dependent thoroughfare type attached, while "Berliner" is the dependent thoroughfare name.


Parsed Postal Facility Columns

postBox

Post box information for a particular delivery point.


postalCode

Complete postal code for a particular delivery point. In U.S. plus 4 is not required but will be appended if address is verified. Most countries have some form of a postal code system.
US Term: Zip Code


postOfficeLocation


Parsed Regional Columns

administrativeArea

This is a common geographic area unit for larger countries. Often referred to as State or Province.
US Term: State


countyName

US Only. Sub Administrative Area. Smallest geographic data element.


dependentLocality

A dependent locality is a logical area unit that is smaller than a locality but larger than a double dependent locality or thoroughfare. It can often be associated with a neighborhood or sector. Great Britain is an example of a country that uses double dependent locality. In the United States, this would correspond to Urbanization, which is used only in Puerto Rico.
US Term: Urbanization


doubleDependentLocality

A double dependent locality is a logical area unit that is smaller than a dependent locality but bigger than a thoroughfare. This field is very rarely used. Great Britain is an example of a country that uses double dependent locality.


locality

This is the most common geographic area and used by virtually all countries. This is usually the value that is written on a mailing label and referred to by terms like City, Town, Postal Town, etc.
US Term: City


subAdministrativeArea

This is a logical area that that is smaller than the administrative area but larger than a locality. While many countries can have a sub-administrative area value, it is very rarely used as part of an official address.
US Term: County


subNationalArea

A sub-national area is a logical area unit that is larger than an administrative area but smaller than the country itself. It is extremely rarely used.


Extra Output Address Parameters

latitude

North-south geographic coordinate for a particular delivery point.


longitude

East-west geographic coordinate for a particular delivery point.


Extra Output Country Parameters

countryName

Full country name. Can be a nickname.


iso2Code

ISO 3166 2-character country code.
For example:
Country Code
United States US
Canada CA
Philippines PH


iso3Code

ISO 3166 3-character country code.
For example:
Country Code
United States USA
Canada CAN
Philippines PHL


isoCountryNumber

ISO 3166 3-digit numeric country code.
For example:
Country Code
United States 840
Canada 124
Philippines 608


CountrySubdivisionCode

This field returns the ISO 3166-2 country sub-division code. This code is part of the ISO 3166 international standard to represent the relevant administrative divisions and dependent territories for a country. For most countries, this code is tied to the administrative area. Not all countries currently return this code but we are planning on adding more.


formalCountryName

Official Name for the country.


US Only Output Parameters

USCityAbbreviation

Get the abbreviated city name.


USPlus4

Get the plus4 by itself.


USCarrierRoute

Get the Carrier Route.


USDeliveryPointCode

Get the 2 digit delivery point code


USDeliveryPointCheckDigit

Get the 1 digit devliery point check digit


USCongressionalDistrict

Get the congressional district number of the address


DeliveryIndicator

This field returns a one character code that indicates if the address is a residence (R), business (B), or unknown (U). It is not available for all countries. Currently, it is available only for the US but more countries are planned for future inclusion.


USCensusTract

Census Tract value


USCensusBlock

Census Block value


USBlockSuffix

Census Block Suffix


USCountyFips

County FIPS number


USCountyName

County Name


USPlaceCode

Census Place Code


USPlaceName

Census Place Name


USCBSACode

Census CBSA Code


USCBSATitle

Census CBSA Title


USCBSALevel

Census CBSA Level


USCBSADivisionCode

Census CBSA Division Code


USCBSADivisionTitle

Census CBSA Division Title


USCBSADivisionLevel

Census CBSA Division Level


USCensusKey

Census Key value


USCountySubdivisionCode

Census County Subdivision Code


USCountySubdivisionName

Census County Subdivision Name


USElementarySchoolDistrictCode

Elementary School District Code


USElementarySchoolDistrictName

Elementary School District Name


USSecondarySchoolDistrictCode

Secondary School District Code


USSecondarySchoolDistrictName

Secondary School District Name


USUnifiedSchoolDistrictCode

Secondary School District Code


USUnifiedSchoolDistrictName

Secondary School District Name


USStateDistrictLower

State Lower Congressional District Number


USStateDistrictUpper

State Upper Congressional District Number


USZipType

Returns the Zip Type for US
Code Description
A blank zip type is a regular zip
P Zip code specifically for PO Boxes
U Unique Zip Code
M Military Zip Code