Excerpt |
---|
Format Validate phone number . and return the correctly formatted valid number in the requested format |
Endpoint ID: | 60106011 | |||||||||||
Method: |
| |||||||||||
URL: | /services/phonenumber/format/{phoneNumber}/{phoneNumberFormat=E164}?countryCode={countryCode}&countryCodeFormat={countryCodeFormat} | |||||||||||
phoneNumber | Phone number to be formatted. Valid examples
| |||||||||||
phoneNumberFormat | Desired format, if not specified default is set to E164. Valid format options are
| |||||||||||
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 valid information of formatted phone number
| |||||||||||
Status codes: | 200 | Phone number is formatted successfully. | ||||||||||
400 | The following sub codes may be returned:
| |||||||||||
404 | No matching country code found for country code format. |
...
|