Excerpt |
---|
Parse and validated phone number Validate phone number and return valid phone number country code, country dial code and number type |
...
Endpoint ID: | 6010 | |||||||||||||
Method: |
| |||||||||||||
URL: | /services/phonenumber/parse/{phoneNumber}?countryCode={countryCode}&countryCodeFormat={countryCodeFormat} | |||||||||||||
phoneNumber | Phone number to be validated. Valid examples
| |||||||||||||
countryCode | Optional value to identify country of phoneNumber. | |||||||||||||
countryCodeFormat | Optional value to identify countryCode format. Valid values are
| |||||||||||||
Request body: | None | |||||||||||||
| JSON data with information about the found cityvalid phone number
| |||||||||||||
Status codes: | 200 | City name found successfullyPhone number is validated successfully. | ||||||||||||
400 | City lookup for the requested country is not supported | |||||||||||||
404 | The specified zip code was not found in the given country |
The following sub codes may be returned:
|