PUT https://api.yourpayroll.co.uk/api/v2/business/{businessId}/employee/{employeeId}/statutoryleave/ssp/{periodOfLeaveId}
Parameter name | Value | Description | Additional |
---|---|---|---|
employeeId | int32 | Required | |
periodOfLeaveId | int32 | Required | |
businessId | string | Required |
The request body takes a complete UkSspUpdateModel resource, containing the following writable properties:
{
"endDate": "date-time",
"osp": {
"halfDayFirstDay": "boolean",
"halfDayLastDay": "boolean",
"leaveCategoryId": "int32"
},
"startDate": "date-time"
}
Name | Type | Description |
---|---|---|
endDate | date-time |
Nullable |
osp | object | UkOspUpdateModel |
osp.halfDayFirstDay | boolean |
Nullable |
osp.halfDayLastDay | boolean |
Nullable |
osp.leaveCategoryId | int32 |
Nullable |
startDate | date-time |
Nullable |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
PeriodOfLeaveModel |
Powered by DapperDox