GET api/Search?contenttype={contenttype}&phone={phone}&username={username}&password={password}&country={country} Authentication required
The following method allows you to search for matching records in our databses based on a phone number. Please not that you can choose between json or xml output. Note also that you can submit phone numbers in their local or international formats.
Request
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| contenttype |
Either text/json or text/xml depending of the output format you expect |
string |
Required |
| phone |
The phone number to lookout. Can be provided in its local or international format. If it is in its international format (meaning with the starting + url encoded to %2B ; and the international phone code), the country is not required |
string |
Required |
| username |
Your username |
string |
Required |
| password |
You password |
string |
Required |
| country |
If the phone is provided in its local format, you need to specify the country |
string |
Optional |
Response
If the provided phone number finds one or several matches in our databases, returns additional information about the best match
Output : object (See Model)Ouput Sample
{
"input": {
"contentType": "sample string 1",
"country": "sample string 2",
"phone": "sample string 3",
"userName": "sample string 4",
"password": "sample string 5",
"ip": "sample string 6"
},
"result": {
"fullName": "sample string 1",
"phone": "sample string 2",
"fullStreet": "sample string 3",
"city": "sample string 4",
"postCode": "sample string 5",
"country": "sample string 6",
"count": "sample string 7",
"countryCode": "sample string 8",
"source": 9,
"isBusiness": true
}
}