GET Utilities/Phone/{phoneNumber}
Scrubs a phone number to return a normalized phone number string with extension.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
phoneNumber |
A phone number string. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
PhoneName | Description | Type | Additional information |
---|---|---|---|
Number | string |
None. |
|
AreaCode | string |
None. |
|
Extension | string |
None. |
|
WholeNumber | string |
None. |
|
WholeNumberWithoutExtension | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Number": "sample string 1", "AreaCode": "sample string 2", "Extension": "sample string 3", "WholeNumber": "sample string 4", "WholeNumberWithoutExtension": "sample string 5" }
application/xml, text/xml
Sample:
<Phone xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Number>sample string 1</Number> <AreaCode>sample string 2</AreaCode> <Extension>sample string 3</Extension> <WholeNumber>sample string 4</WholeNumber> <WholeNumberWithoutExtension>sample string 5</WholeNumberWithoutExtension> </Phone>