GET api/Phone/ValidatePhoneNumber?smCountryRef={smCountryRef}&phoneNumber={phoneNumber}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
smCountryRef | string |
Required |
|
phoneNumber | string |
Required |
Body Parameters
None.
Response Information
Resource Description
AutocompletePhoneName | Description | Type | Additional information |
---|---|---|---|
PhoneNumber | string |
None. |
|
PhoneArea | AutocompletePhoneArea |
None. |
|
PhoneAdditionalInfo | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "PhoneNumber": "sample string 1", "PhoneArea": { "Id": "sample string 1", "CallCodeType": "sample string 2", "SmCountryRef": "sample string 3", "Value": "sample string 4", "NumberLength": 5 }, "PhoneAdditionalInfo": "sample string 2" }
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"PhoneNumber":"sample string 1","PhoneArea":{"Id":"sample string 1","CallCodeType":"sample string 2","SmCountryRef":"sample string 3","Value":"sample string 4","NumberLength":5},"PhoneAdditionalInfo":"sample string 2"});
application/xml, text/xml
Sample:
<AutocompletePhone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models.Phones"> <PhoneAdditionalInfo>sample string 2</PhoneAdditionalInfo> <PhoneArea> <CallCodeType>sample string 2</CallCodeType> <Id>sample string 1</Id> <NumberLength>5</NumberLength> <SmCountryRef>sample string 3</SmCountryRef> <Value>sample string 4</Value> </PhoneArea> <PhoneNumber>sample string 1</PhoneNumber> </AutocompletePhone>