Skip to content

Instantly share code, notes, and snippets.

@tarunbhardwaj
Created December 11, 2014 08:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tarunbhardwaj/4df0673bdd1c7bc6ab89 to your computer and use it in GitHub Desktop.
Save tarunbhardwaj/4df0673bdd1c7bc6ab89 to your computer and use it in GitHub Desktop.
The Response from UPS address validation
<AddressValidationResponse>
<Response>
<TransactionReference>
<CustomerContext>unspecified</CustomerContext>
</TransactionReference>
<ResponseStatusCode>1</ResponseStatusCode>
<ResponseStatusDescription>Success</ResponseStatusDescription>
</Response>
<AddressValidationResult>
<Rank>1</Rank>
<Quality>0.9169</Quality>
<Address>
<City>MIAMI</City>
<StateProvinceCode>FL</StateProvinceCode>
</Address>
<PostalCodeLowEnd>33101</PostalCodeLowEnd>
<PostalCodeHighEnd>33102</PostalCodeHighEnd>
</AddressValidationResult>
<AddressValidationResult>
<Rank>2</Rank>
<Quality>0.9169</Quality>
<Address>
<City>MIAMI</City>
<StateProvinceCode>FL</StateProvinceCode>
</Address>
<PostalCodeLowEnd>33106</PostalCodeLowEnd>
<PostalCodeHighEnd>33106</PostalCodeHighEnd>
</AddressValidationResult>
<AddressValidationResult>
<Rank>3</Rank>
<Quality>0.9169</Quality>
<Address>
<City>MIAMI</City>
<StateProvinceCode>FL</StateProvinceCode>
</Address>
<PostalCodeLowEnd>33109</PostalCodeLowEnd>
<PostalCodeHighEnd>33109</PostalCodeHighEnd>
</AddressValidationResult>
<AddressValidationResult>
<Rank>4</Rank>
<Quality>0.9169</Quality>
<Address>
<City>MIAMI</City>
<StateProvinceCode>FL</StateProvinceCode>
</Address>
<PostalCodeLowEnd>33111</PostalCodeLowEnd>
<PostalCodeHighEnd>33112</PostalCodeHighEnd>
</AddressValidationResult>
<AddressValidationResult>
<Rank>5</Rank>
<Quality>0.9169</Quality>
<Address>
<City>MIAMI</City>
<StateProvinceCode>FL</StateProvinceCode>
</Address>
<PostalCodeLowEnd>33114</PostalCodeLowEnd>
<PostalCodeHighEnd>33114</PostalCodeHighEnd>
</AddressValidationResult>
<AddressValidationResult>
<Rank>6</Rank>
<Quality>0.9169</Quality>
<Address>
<City>MIAMI</City>
<StateProvinceCode>FL</StateProvinceCode>
</Address>
<PostalCodeLowEnd>33116</PostalCodeLowEnd>
<PostalCodeHighEnd>33116</PostalCodeHighEnd>
</AddressValidationResult>
<AddressValidationResult>
<Rank>7</Rank>
<Quality>0.9169</Quality>
<Address>
<City>MIAMI</City>
<StateProvinceCode>FL</StateProvinceCode>
</Address>
<PostalCodeLowEnd>33119</PostalCodeLowEnd>
<PostalCodeHighEnd>33119</PostalCodeHighEnd>
</AddressValidationResult>
<AddressValidationResult>
<Rank>8</Rank>
<Quality>0.9169</Quality>
<Address>
<City>MIAMI</City>
<StateProvinceCode>FL</StateProvinceCode>
</Address>
<PostalCodeLowEnd>33122</PostalCodeLowEnd>
<PostalCodeHighEnd>33122</PostalCodeHighEnd>
</AddressValidationResult>
<AddressValidationResult>
<Rank>9</Rank>
<Quality>0.9169</Quality>
<Address>
<City>MIAMI</City>
<StateProvinceCode>FL</StateProvinceCode>
</Address>
<PostalCodeLowEnd>33124</PostalCodeLowEnd>
<PostalCodeHighEnd>33138</PostalCodeHighEnd>
</AddressValidationResult>
<AddressValidationResult>
<Rank>10</Rank>
<Quality>0.9169</Quality>
<Address>
<City>MIAMI</City>
<StateProvinceCode>FL</StateProvinceCode>
</Address>
<PostalCodeLowEnd>33140</PostalCodeLowEnd>
<PostalCodeHighEnd>33141</PostalCodeHighEnd>
</AddressValidationResult>
</AddressValidationResponse>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment