---
title: "Feature: Preview what a calendar change recalculates"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1793071513@main"
source: "Changelog/1.0.0/Feature-1793071513-PreviewWhatACalendarChangeRecalculates.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Preview what a calendar change recalculates {#feature-1793071513}

## Description {#description}

`POST /api/v1/holiday-rules/preview` and `POST /api/v1/weekly-off-rules/preview` take the body of a write, with
`ruleId` to change a rule or `ruleId` and `delete` to delete one, and answer what saving would do without
storing anything: the past days the change differs on, the range it recalculates, the number of people and the figures
that installed modules report. Attendance reports the existing attendance days it would recalculate, leave the booked
leave days it would charge anew. A module adds its figures by implementing `CalendarChangeImpact`.

## Impact {#impact}

The web screens use the preview to show HR what a change reaches before it is saved.
