Methods

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

Resource

{
    "amount": "string",
    "appliedLeaveUnitTypeDescription": "string",
    "attachment": {
        "dateCreated": "date-time",
        "dateScanned": "date-time",
        "friendlyName": "string",
        "id": "int32",
        "isInfected": "boolean",
        "url": "string"
    },
    "banner": {
        "header": "string",
        "items": [
            "string"
        ]
    },
    "canCancel": "boolean",
    "canModify": "boolean",
    "canPartiallyEdit": "boolean",
    "fromDate": "date-time",
    "hoursPerDay": "double",
    "id": "int32",
    "isApproved": "boolean",
    "isCancelled": "boolean",
    "isDeclined": "boolean",
    "isPending": "boolean",
    "leaveCategoryId": "int32",
    "leaveCategoryName": "string",
    "manuallyApplied": "boolean",
    "notes": "string",
    "previouslyAppliedUnits": "double",
    "requestedDate": "date-time",
    "requireNotesForLeaveRequests": "boolean",
    "status": "string",
    "statusUpdateNotes": "string",
    "toDate": "date-time",
    "totalDays": "double",
    "totalHours": "double",
    "totalUnits": "double",
    "unitType": "string",
    "workTypeId": "int32",
    "workTypeName": "string"
}

Properties

Name Type Description
amount string String
appliedLeaveUnitTypeDescription 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
banner object PartiallyAppliedLeaveRequestBannerModel
banner.header string String
banner.items[] array of string
canCancel boolean Boolean
canModify boolean Boolean
canPartiallyEdit 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
manuallyApplied boolean Boolean
notes string String
previouslyAppliedUnits double Decimal
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
workTypeId int32 Nullable
workTypeName string String