---
title: "ProposedLeaveHoursByEmployerId (Loket.nl REST)"
description: "Proposed Leave Hours by Employer ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.Leave.ProposedLeaveHoursByEmployerId
original: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.Leave.ProposedLeaveHoursByEmployerId
updated: 2024-06-10T18:51:26Z
license: https://documentation.invantive.eu/en/
---

# ProposedLeaveHoursByEmployerId: Loket.nl REST Proposed Leave Hours by Employer ID

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `Leave`
- Label: Proposed Leave Hours by Employer ID

Get the proposed number of leave hours for all employments of an employer
__Activity name :__ GetProposedLeaveHoursByEmployerId

Returns the numberOfHours (only in hours) calculated based on the employments working- hours/schedual 

__Note:__  The function will only work if the employment is either linked to no leave policy or linked to only leave policy(s) that use hours as the unit of leave.

Further more how the leave hours are calculated can be managed in the leave policy with the `applyLeaveSchedule` and `working hours` resource with the field `calculateUsingWorkPattern.leaveHours` The order is as follows. If calculateUsingWorkPattern.leaveHours is true the work patern from workinghours is used otherwise if applyLeaveSchedule is set to true the `leavePattern` is used otherwise the workinghours are used


Can only retrieve data.

## API Source

- Endpoint: `/providers/employers/{employerId}/leave/proposedleavehours`
- Operation: `get /providers/employers/{employerId}/leave/proposedleavehours`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `employerId` | `` | [x] |  | The unique identifier of the employer |
| `endDate` | `` | [ ] |  | The end date of the leave period |
| `startDate` | `` | [ ] |  | The start date of the leave period |

## Table Columns

The columns of the table `ProposedLeaveHoursByEmployerId` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `additionalInformation` | `varchar2` | itgen_loketnl_additionalinformation | [ ] |  | Provides additional information on the calculation. |
| `employmentId` | `guid` | Employment ID | [ ] |  | The unique identifier (a GUID/UUID) |
| `methodOfCalculation` | `varchar2` | itgen_loketnl_methodofcalculation | [ ] |  | Indicates which method was used to calculate the proposed leave hours. |
| `proposedLeaveHours` | `double` | itgen_loketnl_proposedleavehours | [ ] |  | The proposed number of leave hours |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Loket.nl REST](/en/release-notes/drivers/loket-nl-rest)

