Updates the leave request with the specified ID.
POST https://api.yourpayroll.co.uk/api/v2/business/{businessId}/manager/{employeeId}/leaverequest/{leaveRequestId}
Parameter name | Value | Description | Additional |
---|---|---|---|
employeeId | int32 | Required | |
leaveRequestId | int32 | Required | |
businessId | string | Required |
The request body takes a complete ManagerLeaveApplicationModel resource, containing the following writable properties:
{
"attachment": "byte",
"attachmentId": "int32",
"filename": "string",
"fromDate": "date-time",
"hours": "double",
"id": "int32",
"leaveCategoryId": "int32",
"notes": "string",
"toDate": "date-time",
"units": "double"
}
Name | Type | Description |
---|---|---|
attachment | byte | Byte[] |
attachmentId | int32 |
Nullable |
filename | string | String |
fromDate | date-time |
Required |
hours | double | Decimal |
id | int32 | Int32 |
leaveCategoryId | int32 |
Required |
notes | string | String |
toDate | date-time |
Required |
units | double | Decimal |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
ManagerLeaveRequestModel |
Powered by DapperDox