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",
    "hoursApplied": "double",
    "id": "int32",
    "leaveCategory": "string",
    "leaveCategoryId": "int32",
    "notes": "string",
    "status": "string",
    "toDate": "date-time",
    "totalHours": "double"
}

Properties

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