PUT https://apimy.yourpayroll.io/api/v2/business/{businessId}/timesheetsettings
Parameter name | Value | Description | Additional |
---|---|---|---|
businessId | string | Required |
The request body takes a complete MyBusinessTimesheetSettingsModel resource, containing the following writable properties:
{
"allowPaidBreaks": "boolean",
"approveIfMatchesRosterShift": "boolean",
"canSetRequireWorkTypeSetting": "boolean",
"includeAllTimesheetNotesInPayRun": "boolean",
"managersCanCreateTimesheetsForEmployeesThatAreNotEnabled": "boolean",
"maximumPaidBreakDuration": "int32",
"requireLocation": "boolean",
"requireStartAndStopTimes": "boolean",
"requireWorkType": "boolean",
"timesheetRejectionNotifications": "boolean",
"timesheetsEnabled": "boolean"
}
Name | Type | Description |
---|---|---|
allowPaidBreaks | boolean | Boolean |
approveIfMatchesRosterShift | boolean | Boolean |
canSetRequireWorkTypeSetting | boolean | Boolean |
includeAllTimesheetNotesInPayRun | boolean | Boolean |
managersCanCreateTimesheetsForEmployeesThatAreNotEnabled | boolean | Boolean |
maximumPaidBreakDuration | int32 |
Nullable |
requireLocation | boolean | Boolean |
requireStartAndStopTimes | boolean | Boolean |
requireWorkType | boolean | Boolean |
timesheetRejectionNotifications | boolean | Boolean |
timesheetsEnabled | 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