This operation performs basic checks on user-supplied inputs; Municipality, Province, or Postal Code and returns verified Municipality, Province, and Postal Code. This operation also returns the time zone and a check if the supplied location is a P.O. Box, General Delivery, or Rural Route. This operation requires either a Postal Code or both Municipality and Province.  Providing all inputs is recommended because it helps the validation proceed if some of the elements are malformed.

URL Endpoints

ValidateCanadianMunicipalityProvince Inputs

NameTypeDescription
MunicipalityStringMunicipality to validate.
Postal CodeStringThe Postal Code to validate, which can be supplied instead of Municipality and Province to provide validated Municipality and Province.
ProvinceStringThe Province to validate.
LicenseKeyStringYour license key to use the service. 
Sign up for a free trial key at 
https://www.serviceobjects.com/address-validation/

ValidateCanadianMunicipalityProvince Outputs

NameTypeValuesDescription
CanadianAddressInfoObjectVariesThe returned values of a valid Canadian Address.
ErrorObjectVariesThe returned error result from a failed address verification or user input error.
DebugString[]VariesUsed internally for testing.
NameTypeValuesDescription
AddressStringVariesNo Result.
Address 2StringVariesNo Result.
MunicipalityStringVariesThe corrected Municipality.
ProvinceStringVariesThe corrected Province.
PostalCodeStringVariesThe corrected PostalCode.
TimeZoneStringVariesThe corresponding time zone from the validated municipality province.
AddressNumberFragmentStringVariesNo Result.
StreetNameFragmentStringVariesNo Result.
StreetTypeFragmentStringVariesNo Result.
DirectionalCodeFragmentStringVariesNo Result.
UnitTypeFragmentStringVariesNo Result.
UnitNumberFragmentStringVariesNo Result.
IsPOBoxStringVariesThe returned Boolean value of a validated address as being a PO Box address.
BoxNumberFragmentStringVariesNo Result.
StationInfoStringVariesNo Result.
DeliveryModeStringVariesThe returned Delivery Mode of the Delivery Station.
DeliveryInstallationStringVariesThe returned Delivery Installation Type is where the final mail sort happens.

References