Gets the Statutory Maternity Leave period data for a specific employee

Request

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

Path parameters

Parameter name Value Description Additional
employeeId int32

The ID of the employee

Required
businessId string Required

Query parameters

Parameter name Value Description Additional
periodStart date-time

A date within the period of leave to retrieve data for

Required

Response

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

Status code Description Resource
200 OK

OK

UkSmpDataApiModel