curl --request POST \
--url https://api.getcurrent.ca/v1/search/{id}/selection \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"matchId": "8f14e45f-ceea-467a-9f8e-2bd1f3a1c7d2"
}
'{
"matchSelection": {
"status": "selected",
"selectedMatchId": "8f14e45f-ceea-467a-9f8e-2bd1f3a1c7d2"
}
}Resolve a search's match
Resolve which registry result a search refers to — the same choice an analyst makes in Current.
Use this when a search comes back with matchSelection.status of
needs_review (or no_match_found). Either:
- POST a
matchIdfrom the search’sbusinesses[]to pick that entity — the search flips toselected, and its comparison and discrepancy counts are recomputed against the result you chose; or - POST a
statusofno_match_foundorno_selectionto mark the search as not proceeding (e.g. the only hit is an inactive entity).
Both are reversible — POST a matchId later to pick a result.
Requires match selection to be enabled for the search (via the
matchSelection request flag or your account’s search settings).
curl --request POST \
--url https://api.getcurrent.ca/v1/search/{id}/selection \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"matchId": "8f14e45f-ceea-467a-9f8e-2bd1f3a1c7d2"
}
'{
"matchSelection": {
"status": "selected",
"selectedMatchId": "8f14e45f-ceea-467a-9f8e-2bd1f3a1c7d2"
}
}Authorizations
API key as Bearer token: Authorization: Bearer cur_live_xxxxx
Path Parameters
Search ID (UUID)
Body
- Option 1
- Option 2
Provide exactly one of matchId (pick a result) or status (mark the search as not proceeding).
The matchId of the result to select, taken from this search's businesses[]. Flips the search to selected.
1"8f14e45f-ceea-467a-9f8e-2bd1f3a1c7d2"
Mark the search as not proceeding — no_match_found (none of the results is the entity) or no_selection (reviewed, not moving forward with any). Reversible by later POSTing a matchId.
no_match_found, no_selection Response
Match selected
Show child attributes
Show child attributes
Was this page helpful?