---
title: "Recruitment - Create and Recompute Vacancy Score Weight Set"
method: POST
path: "/recruitment/vacancies/{VacancyPublicId}/weight-sets"
tags: ["Exato - Recruitment"]
---

# Recruitment - Create and Recompute Vacancy Score Weight Set

`POST /recruitment/vacancies/{VacancyPublicId}/weight-sets`

## Request

- Base URL: `https://api.exato.digital`
- URL: `https://api.exato.digital/recruitment/vacancies/{VacancyPublicId}/weight-sets`
- Auth: API key in header `token`

Recruitment - Create and Recompute Vacancy Score Weight Set

## Path parameters

- `vacancy_public_id` string, required

## Query parameters

- `test_mode` boolean
- `lightweight` boolean

## Request body `application/x-www-form-urlencoded`

- object
  - `label` string
  - `created_by` string

## Response `200`

Success

- CreateVacancyWeightSetResponse: CreateVacancyWeightSetResponse
  - `api_result_type` string
  - `message` string
  - `result_type_code` integer
  - `result` CreateVacancyWeightSetResult: CreateVacancyWeightSetResult
    - `ranking` VacancyWeightedRankingItemDto[]
      - `application_public_id` string
      - `candidate_name` string
      - `original_position` integer
      - `original_score` number, double
      - `position` integer
      - `position_delta` integer
      - `weighted_score` number, double
    - `weight_set` VacancyWeightSetDto: VacancyWeightSetDto
      - `activated_at` string, date-time
      - `created_at` string, date-time
      - `created_by` string
      - `is_active` boolean
      - `label` string
      - `public_id` string
      - `weights` DictionaryStringDouble: Dictionary<String,Double>

---

[API](https://skmtc.dev/exato/apis/backend-apis.md) - [All operations](https://skmtc.dev/exato/apis/backend-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/exato/apis/backend-apis/revisions/c25e99bad8a4?raw)
