Approves the leave request with the specified ID.

Request

POST https://apimy.yourpayroll.io/api/v2/business/{businessId}/manager/{employeeId}/leaverequest/{leaveRequestId}/approve

Path parameters

Parameter name Value Description Additional
employeeId int32 Required
leaveRequestId int32 Required
businessId string Required

Response

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

Status code Description Resource
200 OK

OK

ManagerLeaveRequestModel