Facet Search by Data Tenant Potential Matches
Returns search counts for facet terms. You can use basic API facet search.
Available fields:
dtPotentialMatches.matches
dtPotentialMatches.matchGroups
dtPotentialMatches.dataTenant
Request
POST {APIURL}/{TenantId}/entities/_facets?filter=(equals(dtPotentialMatches.dataTenant,'dataTenant'))
Headers: Authorization: Bearer 204938ca-2cf7-44b0-b11a-1b4c59984512
[
{
"fieldName" : "dtPotentialMatches.matches"
},
{
"fieldName" : "dtPotentialMatches.matchGroups",
"orderType" : "term",
"pageSize" : 10,
"pageNo" : 1
}
]
Response
POST {TenantURL}/entities/_facets?filter=(equals(type,'configuration/entityTypes/Individual'))
Headers: Authorization: Bearer 204938ca-2cf7-44b0-b11a-1b4c59984512
{
"dtPotentialMatches.matches" : {
"1" : 22,
"2" : 33,
"3" : 44
},
"dtPotentialMatches.matchGroups" : {
"matchGroup1" : 17,
"matchGroup2" : 32,
"matchGroup3" : 6
}
}