Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Parse and validated phone number

 

Endpoint ID:6010
Method:GET
URL:

 /services/phonenumber/parse/{phoneNumber}?countryCode={countryCode}&countryCodeFormat={countryCodeFormat} 

 phoneNumber

 

 countrycode

 

 countryCodeFormat  
Request body:None

Response body:

JSON data with information about the found city

Example – Lookup city name for zip code 4000 in Denmark:
{
	"countryCode": "DK",
	"zipCode": "4000",
	"city": "Roskilde"
}
Status codes:200

City name found successfully

 400

City lookup for the requested country is not supported

 404

The specified zip code was not found in the given country

 

 

  • No labels