Methods

  • get - Get Leave Request by ID
  • get - List Leave Requests

Resource

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

Properties

Name Type Description
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
canCancel boolean Boolean
canModify boolean Boolean
fromDate date-time DateTime
hoursPerDay double Decimal
id int32 Int32
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
toDate date-time DateTime
totalDays double Decimal
totalHours double Decimal
totalUnits double Decimal
unitType string LeaveUnitTypeEnum

Possible values are:

  • Hours
  • Days
  • Weeks