Validates that the given Mobile Number is, in fact, a valid phone number. When
Valid
is
true
, the Mobile Number value returned in the field
PhoneNumber
should be used in subsequent calls, as it is properly formatted.
O/R
|
Parameter
|
Type
|
Description
|
Req
|
CallerGUID |
char(36) |
Assigned Caller GUID for this environment. |
Req
|
CallerPW |
char(36) |
Assigned Caller Password for this environment. |
Req
|
MobileNumber |
varchar(25) |
The Mobile Number to be validated. |
Responses
|
Description |
Success - Valid Phone Number |
Phone number is a valid phone number.
JSON: {"Status":"Success", "CallingCountryCode":1, "CountryCode":"US", "NationalFormat":"(212) 555-1212", "PhoneNumber":"+12125551212", "Valid":true} |
Success - Invalid Phone Number |
Phone number is NOT a valid phone number.
JSON: {"Status":"Success", "CallingCountryCode":0, "CountryCode":null, "NationalFormat":"212551212", "PhoneNumber":"+1212551212", "Valid":false} |
Authentication Failure |
Either Username, Password, IP Address or API Access is not valid for the given environment.
JSON: {"Status":"Authentication Failure"} |
Error |
An unknown error has occurred.
JSON: {"Status":"Error"} |