Comment on page

Phone Validation

Takes one or more mobile phone numbers as an input and performs validation, returning a list of the results. The maximum number of input phone numbers is 100 per call.

Phone Validation

Takes one or more mobile phone numbers as an input and performs validation, returning a list of the results. The maximum number of input phone numbers is 100 per call.

Resource URL

POST https://hosted.mastersoftgroup.com/harmony/rest/{locale}/validate/phone

Request

The request body is a PhoneRestRequest object:
{
"payload": [ { "fullPhone": "0412345678", "country": "AU" } ]
}

Response

The response body is a PhoneRestResponse object:
{
"status": "SUCCESS",
"messages": [],
"payload": [
{
"fullPhone": "0412345678",
"country": "AU",
"countryCode": "61",
"areaCode": "",
"localNumber": "0412345678",
"operatorName": "Vodafone Australia",
"phoneStatus": "connected|Network confirmed connection",
"exception": ""
}
]
}