diff --git a/markdownpages/endpoint/en/hrabsenceid-put.md b/markdownpages/endpoint/en/hrabsenceid-put.md index 8905b08..6384380 100644 --- a/markdownpages/endpoint/en/hrabsenceid-put.md +++ b/markdownpages/endpoint/en/hrabsenceid-put.md @@ -1,3 +1,7 @@ +--- +date: 2026-03-16 +--- + Preferably use this endpoint to modify leave bookings. You can find the AbsenceId via a GetConnector. When making a PUT request, **only include the field `Id`** and **the fields you want to update**. The precise behavior of the connector depends on the type of schedule the employee has. @@ -12,9 +16,9 @@ With this type of schedule, the employee works according to a fixed schedule wit - `DaBe`: Start date/time. The time portion is ignored if `LeDt` = False. - `DaEn`: End date/time. The time portion is ignored if `LeDt` = False. -#### Schedule type: hours per day or hours per working time +#### Schedule type: hours per day -With this type of schedule, the precise times the hours are worked are not known. In the leave booking, both start and end times are always set to 00:00:00. +With this type of schedule, it is known which days are worked, but not when the hours are worked. In the leave booking, both start and end times are always set to 00:00:00. - `Id`: This is the AbsenceId - `LeDt`: False if the leave consists of full days only. @@ -23,11 +27,20 @@ With this type of schedule, the precise times the hours are worked are not known - `DuBe`: Leave (in **minutes**) on the start date. This field is ignored if `LeDt` = False. - `DuEn`: Leave (in **minutes**) on the end date. This field is ignored if `LeDt` = False. +#### Schedule type: hours per week + +With this type of schedule, it is not known which days are worked, and it is also not known when the hours are worked. You must specify exactly how much leave is taken. In the leave booking, both start and end times are always set to 00:00:00. + +- `Id`: This is the AbsenceId +- `LeDt`: False if the leave consists of full days only. +- `DaBe`: Start date/time. The time portion is ignored. +- `DaEn`: End date/time. The time portion is ignored. +- `DuRa`: Leave duration (in **minutes**). This field is ignored if `LeDt` = False. + ### Known issue: shortening or extending leave where `LeDt` = False If you want to modify leave that only consists of full days, `LeDt` will be set to False. If you want to shorten such leave by a few hours, for example, you need to make two requests. 1. In the first request, set `LeDt` to True. -2. In the second request, specify the changed `DaBe`, `DaEn`, `DuBe`, or `DuEn`. - +2. In the second request, specify the changed `DaBe`, `DaEn`, `DuBe`, or `DuEn`. \ No newline at end of file diff --git a/markdownpages/endpoint/nl/hrabsenceid-put.md b/markdownpages/endpoint/nl/hrabsenceid-put.md index 5d2a207..2cec296 100644 --- a/markdownpages/endpoint/nl/hrabsenceid-put.md +++ b/markdownpages/endpoint/nl/hrabsenceid-put.md @@ -1,3 +1,7 @@ +--- +date: 2026-03-16 +--- + Gebruik bijvoorkeur dit endpoint om verlofboekingen aan te passen. Via een GetConnector vind je het AbsenceId. Stuur bij een PUT **alleen het veld `Id`** mee **en de velden die je wilt aanpassen**. De precieze werking van de connector hangt af van het type rooster dat de medewerker heeft. @@ -12,16 +16,26 @@ Bij dit type rooster werkt de medewerker volgens een vastgesteld rooster met beg - `DaBe`: Begindatum/-tijd. Het tijdsdeel wordt genegeerd als `LeDt` = False. - `DaEn`: Eindatum/-tijd. Het tijdsdeel wordt genegeerd als `LeDt` = False. -#### Type rooster: uren per dag of uren per werktijden +#### Type rooster: uren per dag -Bij dit type rooster is niet bekend wanneer de uren precies gemaakt worden. In de verlofboeking zijn begin- en eindtijd altijd gevuld met 00:00:00. +Bij dit type rooster is wel bekend op welke dagen er gewerkt wordt, maar er is niet bekend wanneer de uren gemaakt worden. In de verlofboeking zijn begin- en eindtijd altijd gevuld met 00:00:00. - `Id`: Dit is het AbsenceId - `LeDt`: False als het verlof enkel uit gehele dagen bestaat. - `DaBe`: Begindatum/-tijd. Het tijdsdeel wordt genegeerd. - `DaEn`: Eindatum/-tijd. Het tijdsdeel wordt genegeerd. -- `DuBe`: Verlof (in **minuten**) op begindatum. Dit veld wordt genegeerd als `LeDt` = False. -- `DuEn`: Verlof (in **minuten**) op einddatum. Dit veld wordt genegeerd als `LeDt` = False. +- `DuBe`: Verlofduur (in **minuten**) op begindatum. Dit veld wordt genegeerd als `LeDt` = False. +- `DuEn`: Verlofduur (in **minuten**) op einddatum. Dit veld wordt genegeerd als `LeDt` = False. + +#### Type rooster: uren per week + +Bij dit type rooster is niet bekend op welke dagen er gewerkt wordt, en er is ook niet bekend wanneer de uren gemaakt worden. Je moet precies aangeven hoeveel verlof er wordt opgenomen. In de verlofboeking zijn begin- en eindtijd altijd gevuld met 00:00:00. + +- `Id`: Dit is het AbsenceId +- `LeDt`: False als het verlof enkel uit gehele dagen bestaat. +- `DaBe`: Begindatum/-tijd. Het tijdsdeel wordt genegeerd. +- `DaEn`: Eindatum/-tijd. Het tijdsdeel wordt genegeerd. +- `DuRa`: Verlofduur (in **minuten**). Dit veld wordt genegeerd als `LeDt` = False. ### Known issue: verlof inkorten of verlengen waarbij `LeDt` = False