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