PUT https://api.yourpayroll.co.uk/api/v2/business/{businessId}/leavesettings
Parameter name | Value | Description | Additional |
---|---|---|---|
businessId | string | Required |
The request body takes a complete UkBusinessLeaveSettingsModel resource, containing the following writable properties:
{
"leaveAccrualStartDateType": "string",
"leaveCalculationMethod": "string",
"leaveYearShouldStartOn": "date-time",
"requireNotesForLeaveRequests": "boolean"
}
Name | Type | Description |
---|---|---|
leaveAccrualStartDateType | string |
LeaveAccrualStartDateType
Possible values are:
|
leaveCalculationMethod | string |
LeaveEntitlementCalculationMethodEnum
Possible values are:
|
leaveYearShouldStartOn | date-time |
Nullable |
requireNotesForLeaveRequests | boolean | Boolean |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
Powered by DapperDox