Methods

  • post - Create Leave Request
  • put - Update Leave Request
  • put - Update Leave Request

Resource

{
    "attachment": {
        "dateCreated": "date-time",
        "dateScanned": "date-time",
        "friendlyName": "string",
        "id": "int32",
        "isInfected": "boolean",
        "url": "string"
    },
    "automaticallyApprove": "boolean",
    "employeeId": "int32",
    "fromDate": "date-time",
    "id": "int32",
    "leaveCategoryId": "int32",
    "leaveUnitType": "string",
    "notes": "string",
    "requireNotesForLeaveRequests": "boolean",
    "toDate": "date-time",
    "units": "double"
}

Properties

Name Type Description
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
automaticallyApprove boolean Boolean
employeeId int32 Int32
fromDate date-time DateTime
id int32 Int32
leaveCategoryId int32 Nullable
leaveUnitType string Nullable

Possible values are:

  • Hours
  • Days
  • Weeks
notes string String
requireNotesForLeaveRequests boolean Boolean
toDate date-time DateTime
units double Decimal