Methods

  • get - Get Leave Accruals
  • get - Get Leave Accruals for Employee

Resource

{
    "leave": {
        "<key>": "array"
    },
    "payRunId": "int32"
}

Example

{
    "leave": {
        "12345": [
            {
                "accrualType": "AutomaticallyAccrued",
                "amount": 3.07654,
                "id": 1234,
                "leaveCategoryId": "123",
                "leaveCategoryName": "Annual Leave",
                "notes": null
            },
            {
                "accrualType": "AutomaticallyAccrued",
                "amount": 1.0345,
                "id": 1235,
                "leaveCategoryId": "124",
                "leaveCategoryName": "Sick Leave",
                "notes": "Some notes"
            }
        ]
    },
    "payRunId": 999
}

Properties

Name Type Description
leave object Dictionary
leave.<key> map of array List
leave.<key>.accrualType string String
leave.<key>.amount double Decimal
leave.<key>.id int32 Int32
leave.<key>.leaveCategoryId string String
leave.<key>.leaveCategoryName string String
leave.<key>.notes string String
payRunId int32 Int32