Understanding Phone Data
This section includes all the enriched information returned by Phone Validation PDP along with some potential exception messages.
Last updated
//connected|Network confirmed connection
{
"ciqPartyDocument": {
"pdpchangeContext": {},
"options": {
"exposeAttributes": "7"
},
"phone": {
"countryCode": "61",
"numberType": "61",
"localNumber": "0412345678",
"phoneQuality": 7,
"extraAttributes": {
"MediaType": "61",
"phoneStatus": "connected|Network confirmed connection",
"operatorName": "Vodafone Australia"
}
},
"locationInParties": 0,
"containedInParties": false
}
}
//connected|Network confirmed connection validated as another country
{
"ciqPartyDocument": {
"pdpchangeContext": {},
"options": {
"exposeAttributes": "7"
},
"phone": {
"countryCode": "44",
"localNumber": "1234567878",
"phoneQuality": 7,
"extraAttributes": {
"exception": "Validated as another country - GB",
"phoneStatus": "connected|Network confirmed connection",
"operatorName": "MNO - 3 (Hutchison 3G UK Ltd)"
}
},
"locationInParties": 0,
"containedInParties": false
}
}// disconnected|Network confirmed disconnection
{
"ciqPartyDocument": {
"pdpchangeContext": {},
"options": {
"exposeAttributes": "7"
},
"phone": {
"numberType": "61",
"localNumber": "0412222222",
"phoneQuality": 5,
"extraAttributes": {
"MediaType": "61",
"phoneStatus": "disconnected|Network confirmed disconnection",
"operatorName": "Unknown"
}
},
"locationInParties": 0,
"containedInParties": false
}
}// indeterminate
{
"ciqPartyDocument": {
"pdpchangeContext": {},
"options": {
"exposeAttributes": "7"
},
"phone": {
"localNumber": "441112223333",
"phoneQuality": 5,
"extraAttributes": {
"exception": "Number prefix missing",
"phoneStatus": "indeterminate"
}
},
"locationInParties": 0,
"containedInParties": false
}
}
{
"ciqPartyDocument": {
"pdpchangeContext": {},
"options": {
"exposeAttributes": "7"
},
"containedInParties": false,
"locationInParties": 0,
"phone": {
"localNumber": "+44 123 456 7865",
"phoneQuality": 5
}
},
"exceptions": [
{
"cause": {
"cause": {
"code": "H143",
"category": "PDP",
"description": "HostedPhoneValidation - ROAD error: Missing API user or password for hosted phone validation",
"message": "H143 : HostedPhoneValidation - ROAD error: Missing API user or password for hosted phone validation",
"localizedMessage": "H143 : HostedPhoneValidation - ROAD error: Missing API user or password for hosted phone validation"
},
"code": "H143",
"category": "PDP",
"description": "HostedPhoneValidation - ROAD error: Missing API user or password for hosted phone validation",
"message": "H143 : HostedPhoneValidation - ROAD error: Missing API user or password for hosted phone validation",
"localizedMessage": "H143 : HostedPhoneValidation - ROAD error: Missing API user or password for hosted phone validation"
},
"code": "H143",
"category": "PDP",
"description": "HostedPhoneValidation - ROAD error: Missing API user or password for hosted phone validation",
"inputData": "+44 123 456 7865",
"inputType": "PHONE_DATA",
"message": "H143 : HostedPhoneValidation - ROAD error: Missing API user or password for hosted phone validation",
"localizedMessage": "H143 : HostedPhoneValidation - ROAD error: Missing API user or password for hosted phone validation"
}
]
}{
"exceptions": [
{
"code": "H112",
"category": "PARSER",
"description": "No pattern matched for this input - +44 123 456 7865. Check for punctuation errors, duplicate fields, incorrect input format and incorrect input data.",
"inputData": "+44 123 456 7865",
"inputType": "PHONE_DATA",
"message": "H112 : No pattern matched for this input - 44 744 618 4828. Check for punctuation errors, duplicate fields, incorrect input format and incorrect input data.",
"localizedMessage": "H112 : No pattern matched for this input - 44 744 618 4828. Check for punctuation errors, duplicate fields, incorrect input format and incorrect input data."
}
]
}