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",
    "appliedLeaveUnitTypeDescription": "string",
    "attachment": {
        "dateCreated": "date-time",
        "dateScanned": "date-time",
        "friendlyName": "string",
        "id": "int32",
        "isInfected": "boolean",
        "url": "string"
    },
    "banner": {
        "header": "string",
        "items": [
            "string"
        ]
    },
    "canApprove": "boolean",
    "canCancel": "boolean",
    "canModify": "boolean",
    "canPartiallyEdit": "boolean",
    "employeeId": "int32",
    "employeeName": "string",
    "exceedsBalance": "boolean",
    "fromDate": "date-time",
    "hoursPerDay": "double",
    "id": "int32",
    "inProgress": "boolean",
    "isApproved": "boolean",
    "isCancelled": "boolean",
    "isDeclined": "boolean",
    "isLeaveBasedRosterShift": "boolean",
    "isPending": "boolean",
    "leaveCategoryId": "int32",
    "leaveCategoryName": "string",
    "manuallyApplied": "boolean",
    "notes": "string",
    "previouslyAppliedUnits": "double",
    "requestedDate": "date-time",
    "requireNotesForLeaveRequests": "boolean",
    "status": "string",
    "statusUpdateNotes": "string",
    "terminationDate": "date-time",
    "toDate": "date-time",
    "totalDays": "double",
    "totalHours": "double",
    "totalUnits": "double",
    "unitType": "string",
    "workTypeId": "int32",
    "workTypeName": "string"
}

Properties

Name Type Description
accruedBalance double Nullable
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
canApprove boolean Boolean
canCancel boolean Boolean
canModify boolean Boolean
canPartiallyEdit 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
isLeaveBasedRosterShift 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
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
workTypeId int32 Nullable
workTypeName string String