get_refinement
The proposed change of a search and, when the check is ready, what it does to the shortlist.
- Scope:
signals:searches.read - Changes data: No
Input
| Parameter | Type | Required | Value |
|---|---|---|---|
searchId | string | Yes | The search id |
Returns
The proposed change and its rules. When the check is ready, what happens if the user applies it:
- How many candidates on the shortlist stay
- How many are set aside
- How many waiting candidates pass and can fill the open places
- How many candidates set aside by an earlier change come back
If the check is not ready, the result says to call again in about a minute.
Show the result to the user. If they approve, call apply_refinement.
Errors
- "This search has no proposed change." Call
refine_searchfirst. - "The check of the current candidates failed." Send the feedback again with
refine_search.