Lists all the leave accruals for the pay run.

Request

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

Path parameters

Parameter name Value Description Additional
payRunId 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