Methods

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

Resource

{
    "accruedBalance": "double",
    "amount": "string",
    "attachment": {
        "dateCreated": "date-time",
        "dateScanned": "date-time",
        "friendlyName": "string",
        "id": "int32",
        "isInfected": "boolean",
        "url": "string"
    },
    "canApprove": "boolean",
    "canCancel": "boolean",
    "canModify": "boolean",
    "employeeId": "int32",
    "employeeName": "string",
    "exceedsBalance": "boolean",
    "fromDate": "date-time",
    "hoursPerDay": "double",
    "id": "int32",
    "inProgress": "boolean",
    "isApproved": "boolean",
    "isCancelled": "boolean",
    "isDeclined": "boolean",
    "isPending": "boolean",
    "leaveCategoryId": "int32",
    "leaveCategoryName": "string",
    "notes": "string",
    "requestedDate": "date-time",
    "requireNotesForLeaveRequests": "boolean",
    "status": "string",
    "statusUpdateNotes": "string",
    "terminationDate": "date-time",
    "toDate": "date-time",
    "totalDays": "double",
    "totalHours": "double",
    "totalUnits": "double",
    "unitType": "string"
}

Properties

Name Type Description
accruedBalance double Nullable
amount string String
attachment object AttachmentModel
attachment.dateCreated date-time Nullable
attachment.dateScanned date-time Nullable
attachment.friendlyName string String
attachment.id int32 Nullable
attachment.isInfected boolean Nullable
attachment.url string String
canApprove boolean Boolean
canCancel boolean Boolean
canModify boolean Boolean
employeeId int32 Int32
employeeName string String
exceedsBalance boolean Boolean
fromDate date-time DateTime
hoursPerDay double Decimal
id int32 Int32
inProgress boolean Boolean
isApproved boolean Boolean
isCancelled boolean Boolean
isDeclined boolean Boolean
isPending boolean Boolean
leaveCategoryId int32 Int32
leaveCategoryName string String
notes string String
requestedDate date-time DateTime
requireNotesForLeaveRequests boolean Boolean
status string String
statusUpdateNotes string String
terminationDate date-time Nullable
toDate date-time DateTime
totalDays double Decimal
totalHours double Decimal
totalUnits double Decimal
unitType string LeaveUnitTypeEnum

Possible values are:

  • Hours
  • Days
  • Weeks