W2 Data Mortality UK 035
About the service
W2 Data Mortality UK 035 is a UK identity verification service that checks data against a variety of different sources to determine if the person is deceased. If there are multiple matches, it provides a list of them, up to a limit of 10.
Product Code: W2-DATA-MORTALITY-UK-035
Does this service leave a credit search Footprint? No
Request
Query Data
The following properties pertain to this service, please note that the fields MUST be in the same order as shown below.
Property Name | Type | Length | Optional/Mandatory | Notes |
---|---|---|---|---|
DayOfBirth | Integer | 2 | Mandatory | |
Forename | String | 15 | Mandatory | |
Flat | String | 55 | Optional | |
HouseName/HouseNumber | String | 55 | Mandatory | Either house name or house number must be supplied. May also include Flat number i.e. Flat 1, 4 |
MiddleNames | String | 15 | Optional | |
MonthOfBirth | Integer | 2 | Mandatory | |
Postcode | String | 8 | Mandatory | Must be a valid UK postcode. |
Surname | String | 30 | Mandatory | |
YearOfBirth | Integer | 4 | Mandatory |
Example Request
These are example requests when calling the W2 Data Mortality UK 035 Service:
"Data": {
"DayOfBirth": 16,
"Forename": "Brandon",
"HouseName": "1 HANOVER GRANGE",
"MonthOfBirth": 11,
"Postcode": "YO167BX",
"Surname": "Truman",
"YearOfBirth": 1945
}
Response
Example Response
"W2DataMortalityUk035Result" : {
"MortalityResult" : {
"MortalityResponse"
"MatchData" : {
"AddressMatch" : "true",
"DobMatch" : "true",
"NameMatch" : "true",
"PostcodeMatch" : "true"
},
"Person" : {
"Address1" : "1 HANOVER GRANGE",
"Address2" : "BRIDLINGTON",
"Address3" : "EAST RIDING OF YORKSHIRE",
"Address4" : "Y016 7BX",
"Address5" : "",
"DateOfBirth" : "1945-11-1600:00:00",
"DateOfDeath" : "2019-09-1900:00:00",
"Forename" : "BRANDON",
"MiddleName" : "LEWIS",
"Postcode" : "Y0167BX",
"Score" : "9",
"Surname" : "TRUMAN",
"Title" : "MR",
"UniqueReferenceNumber" : "06186191"
}
}
}
}
Transaction Result
After performing the search, the TransactionInformation
will be part of the ProcessRequestParameters
returned for the service call.
The following shows the basic schema for the TransactionInformation
object that is returned in the ProcessRequestResult
object.
Property | Value |
---|---|
FailoverOverTo | Did the service encounter a third party error, and fail over to an alternate service? (Not applicable for this service). |
HaltTriggered | Was there a halt condition included in the bundle that has been triggered? |
ServiceInterpretResult | OneResult MultipleResults NoResults NotPerformed - An error occurred and the search was not performed |
ServiceTransactionResult | Success SuccessNoResults SuccessIncompleteResults - Too many matches generated, results truncated ClientErrorInsufficientInformation - Required field not supplied ClientErrorInformationFormatInvalid - Invalid format in field - ServerErrorGeneralError - Error with third party service |
ServiceTransactionResultMessage | One Potential Match Found Multiple Potential Matches Found No Potential Matches Found |
ServiceValidationDetails | Shows the messages related to a validation error if applicable. |
ValidationResult | NotApplicable - No search occurred to match against Fail - MissingMandatoryField or PatternNotMatched |
Sandbox
To use sandbox the following example request can be used.
Remember to include the W2 provided API key in the Authorization Header.
Example Request
{
"Bundle": "W2-DATA-MORTALITY-UK-035",
"Data": {
"DayOfBirth": 11,
"Forename": "Alex",
"HouseNumber": "81",
"MonthOfBirth": 3,
"Postcode": "PA33 7WB",
"Street": "Crescent Avenue",
"Surname": "Goodwin",
"YearOfBirth": 1941
},
"Options": {
"Sandbox": "true"
},
"ClientReference": "your-client-reference"
}
Sandbox cases
These are the sandbox options for these service. Learn about our Sandbox here
Click on a sandbox case to view the request and response