invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

ProposedLeaveHoursByEmploymentId: Loket.nl REST Proposed Leave Hours by Employment ID

read only REST

  • Catalog: LoketNlRest
  • Schema: Leave
  • Label: Proposed Leave Hours by Employment ID

Get the proposed number of leave hours for an employment Activity name : GetProposedLeaveHoursByEmploymentId

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/employees/employments/{employmentId}/leave/proposedleavehours
  • Operation: get /providers/employers/employees/employments/{employmentId}/leave/proposedleavehours

Parameters

Name Data Type Required Default Documentation
employmentId `` The unique identifier of the employment
endDate `` The end date of the leave period
startDate `` The start date of the leave period

Table Columns

The columns of the table ProposedLeaveHoursByEmploymentId 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: