Request

PUT https://api.yourpayroll.co.uk/api/v2/business/{businessId}/timesheetsettings

Path parameters

Parameter name Value Description Additional
businessId string Required

Request body

The request body takes a complete UkBusinessTimesheetSettingsModel resource, containing the following writable properties:

{
    "approveIfMatchesRosterShift": "boolean",
    "canSetRequireWorkTypeSetting": "boolean",
    "includeAllTimesheetNotesInPayRun": "boolean",
    "managersCanCreateTimesheetsForEmployeesThatAreNotEnabled": "boolean",
    "requireLocation": "boolean",
    "requireStartAndStopTimes": "boolean",
    "requireWorkType": "boolean",
    "timesheetRejectionNotifications": "boolean",
    "timesheetsEnabled": "boolean"
}

Properties

Name Type Description
approveIfMatchesRosterShift boolean Boolean
canSetRequireWorkTypeSetting boolean Boolean
includeAllTimesheetNotesInPayRun boolean Boolean
managersCanCreateTimesheetsForEmployeesThatAreNotEnabled boolean Boolean
requireLocation boolean Boolean
requireStartAndStopTimes boolean Boolean
requireWorkType boolean Boolean
timesheetRejectionNotifications boolean Boolean
timesheetsEnabled boolean Boolean

Response

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

Status code Description Resource
200 OK

OK