Methods

  • get - Get Leave Allowances for All Employees
  • get - Get Leave Allowances for Employee

Resource

{
    "<key>": "array"
}

Properties

Name Type Description
<key> map of array IList
<key>.automaticallyAccrues boolean Boolean
<key>.canApplyForLeave boolean Boolean
<key>.hoursPerYear double Decimal
<key>.leaveAccrualRule object SgLeaveAccrualRuleModel
<key>.leaveAccrualRule.accrualType string LeaveAccrualType

Possible values are:

  • Ongoing
  • Yearly
  • BasedOnLengthOfService
<key>.leaveAccrualRule.accrueInAdvance boolean Boolean
<key>.leaveAccrualRule.capType string LeaveAccrualCapType

Possible values are:

  • NotLimited
  • Limited
<key>.leaveAccrualRule.carryOverAmount double Decimal
<key>.leaveAccrualRule.carryOverBehaviour string LeaveAccrualCarryOverBehaviour

Possible values are:

  • CarryEntireAmount
  • CarryHours
<key>.leaveAccrualRule.id int32 Int32
<key>.leaveAccrualRule.leaveYearOffsetAmount int32 Nullable
<key>.leaveAccrualRule.unitCap double Decimal
<key>.leaveCategoryId string String
<key>.leaveCategoryName string String
<key>.leaveUnitType string String
<key>.unitType string String
<key>.units double Nullable