Updates the leave request with the specified ID.


POST https://keypay.yourpayroll.com.au/api/v2/ess/{employeeId}/leave/{leaveRequestId}

Path parameters

Parameter name Value Description Additional
leaveRequestId int32 Required
employeeId string Required

Request body

The request body takes a complete EssLeaveApplicationModel resource, containing the following writable properties:

    "attachment": "byte",
    "attachmentId": "int32",
    "fromDate": "date-time",
    "hours": "double",
    "id": "int32",
    "leaveCategoryId": "int32",
    "notes": "string",
    "toDate": "date-time"


Name Type Description
attachment byte Byte[]
attachmentId int32 Nullable
fromDate date-time DateTime
hours double Decimal
id int32 Int32
leaveCategoryId int32 Nullable
notes string String
toDate date-time DateTime


The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK