Methods

  • get - List Leave Requests
  • post - Approve Leave Request
  • post - Decline Leave Request
  • delete - Delete Leave Request
  • get - Get Leave Request by ID
  • get - Get Leave Requests for Employee
  • post - Create Leave Request

Resource

[
    {
        "attachmentId": "int32",
        "employee": "string",
        "employeeId": "int32",
        "fromDate": "date-time",
        "id": "int32",
        "leaveCategory": "string",
        "leaveCategoryId": "int32",
        "notes": "string",
        "status": "string",
        "toDate": "date-time",
        "totalUnits": "double",
        "unitsApplied": "double"
    }
]

Properties

Name Type Description
attachmentId int32 Nullable
employee string String
employeeId int32 Int32
fromDate date-time DateTime
id int32 Int32
leaveCategory string String
leaveCategoryId int32 Int32
notes string String
status string String
toDate date-time DateTime
totalUnits double Decimal
unitsApplied double Decimal