Request

GET https://api.yourpayroll.co.uk/api/v2/business/{businessId}/employee/{employeeId}/occupationalabsence

Path parameters

Parameter name Value Description Additional
employeeId int32 Required
businessId string Required

Query parameters

Parameter name Value Description Additional
earliestStartDate date-time Required
latestStartDate date-time Required

Response

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

Status code Description Resource
200 OK

OK

PeriodOfLeaveModel