PUT https://api.yourpayroll.co.uk/api/v2/business/{businessId}/leavecategory/saveleaveyearsettings
Parameter name | Value | Description | Additional |
---|---|---|---|
businessId | string | Required |
The request body takes a complete LeaveBusinessSettingsApiModel resource, containing the following writable properties:
{
"leaveAccrualStartDateType": "string",
"leaveAnniversarySetting": "string",
"leaveAnniversarySettingDate": "date-time",
"leaveYearStart": "date-time"
}
Name | Type | Description |
---|---|---|
leaveAccrualStartDateType | string |
LeaveAccrualStartDateType
Possible values are:
|
leaveAnniversarySetting | string |
Nullable Possible values are:
|
leaveAnniversarySettingDate | date-time |
Nullable |
leaveYearStart | date-time |
Nullable |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
204 | No Content No Content |
Powered by DapperDox