How to run SERP certified verification
There are two ways to run the SERP certified certification in the Loqate Engine:
I. You may invoke the SERP certification process for Canada directly by adding the process “SERP” to the process-list.
In batch mode, run lqtbatch with the process set as “serp”. lqtbatch also generates a SERP address accuracy report, which defaults to_summary.txt. You may specify a name for the address accuracy report as follows:
lqtbatch … -p serp … [-r mysummaryfile.txt]
II. You may invoke the certification process by calling the “verify” process while setting the server-option “CertifiedCountryList” to “CAN” – this will internally invoke the SERP process for Canadian addresses in your dataset. As we extend our certification process support to other countries, you will be able to specify the countries for which you want to run the certified process (as opposed to the Loqate “verify” process) through comma-separated list of country code values for the “CertifiedCountryList” option.
SERP process requires the following fields as input,
Address1, Address2 (optional), Locality (optional), AdministrativeArea (optional), PostalCode(optional), and Country.
Output component fields
The table below displays the SERP verification codes currently available in the Loqate API.
Field | Definition |
SerpStatusEx | V (Valid) |
C (Correctable) : Correctable fields will have been corrected to their right values in the output. | |
N (Invalid) | |
Questionable | QR (for “Questionable-Rural”) |
QU (for “Questionable-Urban”) | |
Empty-It means that the address is not questionable. | |
Result | “VALID” for valid addresses. Otherwise, internal error code. |
Some sample outputs
I. 550 BURRARD ST RM 1230 VANCOUVER BC V6C2K2
Result codes
SerpStatusEx: V
Questionable: (Empty)
Components
550 : PremiseNumber
BURRARD : ThoroughfareName
ST : ThoroughfareTrailingType
RM : SubBuildingType
1230 : SubBuildingNumber
VANCOUVER : Locality
BC : AdministrativeArea
V6C2K2 : PostalCodePrimary
II. PO BOX 1200 SUCC POINTE-CLAIRE POINTE-CLAIRE QC H9R4R6
Results
SerpStatusEx: V
Questionable: (Empty)
Components
PO BOX : PostBoxType
1200 : PostBoxNumber
SUCC : DeliveryInstallationType
POINTE-CLAIRE : DeliveryInstallationQualifierName
POINTE-CLAIRE : Locality
QC : AdministrativeArea
H9R4R6 : PostalCodePrimary
III. GD STN MAIN PARKSVILLE BC V9P2G2
Results
SerpStatusEx: V
Questionable: (Empty)
Components
GD : GeneralDelivery
STN : DeliveryInstallationType
MAIN : DeliveryInstallationQualifierName
PARKSVILLE : Locality
BC : AdministrativeArea
V9P2G2 : PostalCodePrimary
IV. RR 1 LOT 89 CONC 3 MARYSTOWN NL A0E2M0
Results
SerpStatusEx: V
Questionable: (Empty)
Components
RR : RouteType
1 : RouteNumber
LOT 89 CONC 3 : AdditionalContent
MARYSTOWN : Locality
NL : AdministrativeArea
A0E2M0 : PostalCodePrimary