| EmailAddress | An Email address for validation. |
| EmailList | Container for Email addresses. |
| EmailRestRequest | Request wrapper for email REST methods. |
| EmailRestResponse | Response wrapper for email REST methods. |
| Phone | A Phone number for validation. |
| PhoneList | Container for Phone numbers. |
| PhoneRestRequest | Request wrapper for phone REST methods. |
| PhoneRestResponse | Response wrapper for phone REST methods. |
| ValidatedEmailAddress | An Email address object containing the results of the validation. |
| ValidatedPhone | A Phone number object containing the results of the validation. |
| PropertyTitleInfo | A PropertyTitle info for validation. |
| PropertyTitleRestRequest | Request wrapper for PropertyTitle info validation REST methods. |
| PropertyTitleRestResponse | Response wrapper for PropertyTitle info REST methods. |
| ValidatedPropertyTitleInfo | A object containing the results of the validation. |
The EmailAddress is used to supply email addresses for validation.
{
"address": "bob@example.org"
}
An array or list of EmailAddress structures.
[
{
address: "bob@example.org"
},
{
address: "sarah@example.org"
},
...
]
An EmailRestRequest object is used when invoking the Harmony RightAddress email validation REST service methods.
{
"payload": [ { "address": "bob@example.org" } ]
}
An EmailRestResponse object is returned from the Harmony RightAddress email validation REST service methods.
{
"status": "SUCCESS",
"messages": [],
"payload": [
{
"address": "bob@example.org"
}
]
}
The Phone structure is used to supply mobile phone numbers for validation.
{
"fullPhone": "+61412345678",
"country": "AU"
}
An array or list of Phone structures.
[
{
"fullPhone": "+61412345678",
"country": "AU"
},
{
"fullPhone": "+61487654321",
"country": "AU"
},
...
]
An PhoneRestRequest object is used when invoking the Harmony RightAddress phone validation REST service methods.
{
"payload":
[
{
"fullPhone": "+61412345678",
"country": "AU"
},
{
"fullPhone": "+61487654321",
"country": "AU"
},
...
]
}
An PhoneRestResponse object is returned from the Harmony RightAddress phone validation REST service methods.
{
"status": "SUCCESS",
"messages": [],
"payload": [
{
"fullPhone": "+61412345678",
"country": "AU"
}
]
}
A ValidatedEmailAddress object extends a standard EmailAddress object and is returned in the validate method response.
email_valid: true if the email address syntax conforms to RFC 2822 standard, false otherwise.
domain_exists: true if the domain of the email address exists and has proper Domain Name Server (DNS) records, false otherwise.
mailserver_exists: True if there is a mail server for that domain, false otherwise.
email_exists: true if the mailbox for the email address has been found to exist without sending an email, false otherwise.
{
"address": "bob@example.org",
"mailBoxValidated": false,
"mailServerValidated": false,
"domainValidated": false,
"blackListValidated": true,
"formatValidated": true
}
A ValidatedPhone object extends a standard Phone object and is returned in the validate method response.
{
"fullPhone": "+61412345678",
"country": "AU",
"areaCode": "",
"localNumber": "0412345678",
"operatorName": 'Telstra',
"phoneStatus": 'Active',
"exception": null
}
The PropertyTitleInfo structure is used to supply the information for validation.
{
"firstName":"John",
"lastName":"Doe",
"streetNumber":"000",
"street":"xxxx st",
"suburb":"wellington central",
"townCity":"wellington"
}
An PropertyTitleRestRequest object is used when invoking the Harmony RightAddress nz property title ownership validation REST service methods.
{
"payload":{
"firstName":"John",
"lastName":"Doe",
"streetNumber":"000",
"street":"xxxx st",
"suburb":"wellington central",
"townCity":"wellington"
},
"showDetails":"true"}
}
An PropertyTitleRestResponse object is returned from the Harmony RightAddress nz property title ownership validation REST service methods.
{
{
"status":"SUCCESS",
"messages":[],
"payload":{
"response":"fail",
"attributes":[
{"type":"NZ_PROPERTY_TITLE",
"attributes":{
"guaranteeStatus":"Guarantee",
"status":"LIVE",
"descrption":"Fee Simple, 1/1, Lot x Deposited Plan xxx, 401 m2",
"spatialExtensShared":"T",
"ownsNumber":"1",
"issueDate":"1986/09/10 00:00:00",
"titleNo":"xxxx",
"type":"Freehold",
"owners":"xxxx",
"titleId":"xxxx",
"landDistrict":"Wellington"
}
}
]
}
}
}
A ValidatedPropertyTitleInfo object with validation response and list of attributes if showDetails set as true in the request.
{
"response":"fail",
"attributes":[
{"type":"NZ_PROPERTY_TITLE",
"attributes":{
"guaranteeStatus":"Guarantee",
"status":"LIVE",
"descrption":"Fee Simple, 1/1, Lot x Deposited Plan xxx, 401 m2",
"spatialExtensShared":"T",
"ownsNumber":"1",
"issueDate":"1986/09/10 00:00:00",
"titleNo":"xxxx",
"type":"Freehold",
"owners":"xxxx",
"titleId":"xxxx",
"landDistrict":"Wellington"
}
}
]
}