Methods

  • put - Set Leave Allowances

Resource

{
    "automaticallyAccrues": "boolean",
    "canApplyForLeave": "boolean",
    "hoursPerYear": "double",
    "leaveAccrualRule": {
        "accrualType": "string",
        "accrueInAdvance": "boolean",
        "capType": "string",
        "carryOverAmount": "double",
        "carryOverBehaviour": "string",
        "id": "int32",
        "unitCap": "double"
    },
    "leaveCategoryId": "string",
    "leaveCategoryName": "string",
    "leaveUnitType": "string",
    "unitType": "string",
    "units": "double"
}

Properties

Name Type Description
automaticallyAccrues boolean Boolean
canApplyForLeave boolean Boolean
hoursPerYear double Decimal
leaveAccrualRule object LeaveAccrualRuleModel
leaveAccrualRule.accrualType string LeaveAccrualType

Possible values are:

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

Possible values are:

  • NotLimited
  • Limited
leaveAccrualRule.carryOverAmount double Decimal
leaveAccrualRule.carryOverBehaviour string LeaveAccrualCarryOverBehaviour

Possible values are:

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