Gets the leave accruals for the specified employee in the pay run.

Request

GET https://apisg.yourpayroll.io/api/v2/business/{businessId}/payrun/{payRunId}/leaveaccrued/{employeeId}

Path parameters

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

Query parameters

Parameter name Value Description Additional
includeLeaveTaken boolean

Response

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

Status code Description Resource
200 OK

OK

LeaveAccrualResponse