Search & Match - Embedding
Update the config for the logged in user's embeddable resume search tool
Update configurations such as which fields can be displayed in the logged in user's embeddable resume search tool, what are their weights, what is the maximum number of results that can be returned, etc.
patch/v2/resume_search/config
Request body
Example request
{
"maxResults": 10,
"indices": [
"all-resumes",
"my-index"
],
"userId": 1234,
"username": "big.smoke",
"actions": [
{
"label": "Add to shortlist",
"eventName": "addToShortlist"
}
],
"customFieldsConfig": [
{
"dataPoint": "RdNAniIH",
"weight": 0.5
}
],
"distanceUnit": "km"
}Response
Successfully updated configurations.
Example response
{
"maxResults": 10,
"indices": [
"all-resumes",
"my-index"
],
"userId": 1234,
"username": "big.smoke",
"actions": [
{
"label": "Add to shortlist",
"eventName": "addToShortlist"
}
],
"customFieldsConfig": [
{
"dataPoint": "RdNAniIH",
"weight": 0.5
}
],
"distanceUnit": "km"
}