| CustomerData | CustomerData information. |
| CustomerDataList | CustomerData container. |
| MatchRequest | MatchRequest object. |
| MatchRestRequest | Request wrapper for match lookup REST methods. |
| MatchEntityResult | MatchEntityResult information. |
| MatchEntityResultList | MatchEntityResult container. |
| MatchResult | MatchResult information. |
| MatchResultList | MatchResult container. |
| MatchResultRestResponse | Response wrapper for match lookup REST methods. |
The CustomerData object is used when sending data for the match lookup API methods.
{
"id": "c1",
"addresses": [ { "fullAddress": "level 2, 220 george street, sydney nsw 2000" } ],
"emailAddresses": [ { "address": "test@mydomain.com" } ],
"phones": [ { "fullPhone": "12345678" } ]
}
With address components:
{
"id": "r2",
"addresses": [ {
"floorLevelNumber": "2",
"floorLevelType": "level",
"streetName": "george",
"streetNumber": "220",
"streetType": "street",
"locality":"sydney",
"state":"nsw"
} ],
"phones": [ { "fullPhone": "12345678" } ]
}
An array or list of CustomerData structures.
{
"id": "c1",
"addresses": [ { "fullAddress": "level 2, 220 george street, sydney nsw 2000" } ],
"emailAddresses": [ { "address": "test@mydomain.com" } ],
"phones": [ { "fullPhone": "12345678" } ]
}
With address components:
{
"id": "r2",
"addresses": [ {
"floorLevelNumber": "2",
"floorLevelType": "level",
"streetName": "george",
"streetNumber": "220",
"streetType": "street",
"locality":"sydney",
"state":"nsw"
} ],
"phones": [ { "fullPhone": "12345678" } ]
}
A MatchRequest object is used when sending data from the customer match API methods.
{
"from": [
{
"addresses": [ { "fullAddress": "220 george street, sydney nsw 2000" } ],
"id": "c1"
}
],
"to": [
{
"addresses": [ { "fullAddress": "220 george street, sydney nsw 2000" } ],
"id": "r1"
},
{
"addresses": [ { "fullAddress": "level 2, 220 george street, sydney nsw 2000" } ],
"id": "r2"
}
]
}
A MatchRestRequest object is used when invoking the match lookup REST service methods.
{
"payload": {
"from": [
{
"addresses": [ { "fullAddress": "220 george street, sydney nsw 2000" } ],
"id": "c1"
}
],
"to": [
{
"addresses": [ { "fullAddress": "220 george street, sydney nsw 2000" } ],
"id": "r1"
},
{
"addresses": [ { "fullAddress": "level 2, 220 george street, sydney nsw 2000" } ],
"id": "r2"
}
]
}
}
The MatchEntityResult object is used when receiving data for the match lookup API methods.
{
"addressPairIdx": [ 0, 0 ],
"emailAddressPairIdx": [],
"phonePairIdx": [ 0, 0 ],
"assignedMatchClass": "H1",
"confidenceLevel": "10",
"description": "Household Match Class H1",
"matchCategory": "MATCH_CLASS"
}
An array or list of MatchEntityResult structures. Currently will only return one MatchEntityResult in the list.
"entityResults": [
{
"addressPairIdx": [ 0, 0 ],
"emailAddressPairIdx": [],
"phonePairIdx": [ 0, 0 ],
"assignedMatchClass": "H1",
"confidenceLevel": "10",
"description": "Household Match Class H1",
"matchCategory": "MATCH_CLASS"
},
{
. . . .
}
]
The MatchResult object is used when receiving data for the match lookup API methods.
{
"fromId": "c1",
"toId": "r1",
"entityResults": [ {
"addressPairIdx": [ 0, 0 ],
"emailAddressPairIdx": [],
"phonePairIdx": [ 0, 0 ],
"assignedMatchClass": "H1",
"confidenceLevel": "10",
"description": "Household Match Class H1",
"matchCategory": "MATCH_CLASS"
} ]
}
An array or list of MatchResult structures.
{
"fromId": "c1",
"toId": "r1",
"entityResults": [ {
"addressPairIdx": [ 0, 0 ],
"emailAddressPairIdx": [],
"phonePairIdx": [ 0, 0 ],
"assignedMatchClass": "H1",
"confidenceLevel": "10",
"description": "Household Match Class H1",
"matchCategory": "MATCH_CLASS"
} ]
},
{
"fromId": "c1",
"toId": "r2",
"entityResults": [ {
"addressPairIdx": [ 0, 0 ],
"emailAddressPairIdx": [],
"phonePairIdx": [],
"assignedMatchClass": "G2",
"confidenceLevel": "8",
"description": "Address Match Class G2",
"matchCategory": "MATCH_CLASS"
} ]
}
A MatchResultRestResponse object is returned from the match lookup REST service methods.
{
"status": "SUCCESS",
"messages": [],
"payload": [
{
"fromId": "c1",
"toId": "r1",
"entityResults": [ {
"addressPairIdx": [ 0, 0 ],
"emailAddressPairIdx": [],
"phonePairIdx": [ 0, 0 ],
"assignedMatchClass": "H1",
"confidenceLevel": "10",
"description": "Household Match Class H1",
"matchCategory": "MATCH_CLASS"
} ]
},
{
"fromId": "c1",
"toId": "r2",
"entityResults": [ {
"addressPairIdx": [ 0, 0 ],
"emailAddressPairIdx": [],
"phonePairIdx": [],
"assignedMatchClass": "G2",
"confidenceLevel": "8",
"description": "Address Match Class G2",
"matchCategory": "MATCH_CLASS"
} ]
}
]
}