When searching the Philippines National ID data source, you will have four different search type options.
When submitting a request via the API, you will nominate the search type through a number value provided.
In the IDU interface, you will select from a list of text menu items.
The following is a breakdown of the different search types, and their corresponding values in both IDU and the API:
Search Type (API reference) | Search Type (IDU Menu Item) | Definition |
"1" | "Name and Date of Birth" | This search type will validate the Name and Date of Birth of the individual. No information aside from verification result will be returned from the data source. |
"2" | "Name and Date of Birth with Address Returned" | This search type will validate the Name and Date of Birth of the individual, and will return the Address information contained in the Data Source if a match is made. |
"3" | "National ID Number" | This search type will validate the National ID Number of an individual. No information aside from the verification result will be returned from the data source. |
"4" | "National ID Number with Address Returned" | This search type will validate the National ID Number of an individual, and will return the Address information contained in the Data Source if a match is made. |
Changing the Search Type (IDU)
To change the search type in IDU, please select the appropriate item from the "Search Type" drop down menu:
Changing the Search Type (API)
To change the search type in the API, change the "searchType:" / "<SearchType>" tag in the request to the API.
For SOAP XML, please refer to line 14.
<?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <Verify xmlns="http://svc.datazoo.co.nz"> <Session> <UserName>Jeff_dz</UserName> <Token>9C463251-D2E7-4927-ACEA-4DA1D22068A2</Token> <Reference /> <DataSources> <DataSource_v26> <DataSourceName>Philippines National ID</DataSourceName> <Enabled>true</Enabled> <ConsentObtained>true</ConsentObtained> <SearchType>1</SearchType> </DataSource_v26> <DataSource_v26> <DataSourceName>Watchlist AML</DataSourceName> <Enabled>true</Enabled> <ConsentObtained>false</ConsentObtained> </DataSource_v26> </DataSources> </Session> <Criteria> <FirstName>LANIE</FirstName> <MiddleName>G</MiddleName> <LastName>AVIDA</LastName> <DateOfBirth>1960-09-25</DateOfBirth> <StreetName>PROPER REGION 7</StreetName> <City>CEBU CITY</City> <PostCode>6000</PostCode> </Criteria> </Verify> </soap12:Body> </soap12:Envelope>
For REST JSON, please refer to line 6.
{ "dataSources": [ "Philippines National ID", "Watchlist AML" ], "searchType": "1", "firstName": "Lanie", "middleName": "G", "lastName": "Avida", "dateOfBirth": "1960-09-25", "streetName": "PROPER REGION 7", "barangay": "Buhisan", "city": "Cebu City", "province": "Cebu", "postCode": "6000", "NationalIdConsentObtained": true }