---
title: "Updates a single advanced feriefri allocation rule on an employment's Extra Vacation Hours section."
method: PUT
path: "/api/employments/{userEmploymentId}/feriefri-allocation-rules"
tags: ["Employments"]
---

# Updates a single advanced feriefri allocation rule on an employment's Extra Vacation Hours section.

`PUT /api/employments/{userEmploymentId}/feriefri-allocation-rules`

## Request

- Base URL: `https://api.intect.app`
- URL: `https://api.intect.app/api/employments/{userEmploymentId}/feriefri-allocation-rules`
- Auth: one of:
  - HTTP basic
  - API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/intect/apis/intect-rest-api/docs/api/employments/:userEmploymentId/feriefri-allocation-rules/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `userEmploymentId` integer, required

## Request body

- IntectDTOFeriefriAllocationRuleDto
  - `Id` integer
  - `Months` integer, nullable
  - `TriggerDate` string, date-time, nullable
  - `Percentage` number, double, nullable
  - `Hours` number, double, nullable

## Response `200`

OK

- IntectDTOFeriefriAllocationRuleDto
  - `Id` integer
  - `Months` integer, nullable
  - `TriggerDate` string, date-time, nullable
  - `Percentage` number, double, nullable
  - `Hours` number, double, nullable

## Changes

- **2026-09-06** `f7ce32a12afb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/intect/apis/intect-rest-api/changes/api/employments/:userEmploymentId/feriefri-allocation-rules/put.md)

---

[API](https://skmtc.dev/intect/apis/intect-rest-api.md) - [All operations](https://skmtc.dev/intect/apis/intect-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/intect/apis/intect-rest-api/revisions/fa3ae23abb38?raw)
