Request

PUT https://apisg.yourpayroll.io/api/v2/business/{businessId}/timesheetsettings

Path parameters

Parameter name Value Description Additional
businessId string Required

Request body

The request body takes a complete SgBusinessTimesheetSettingsModel 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"
}

Properties

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

Response

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

Status code Description Resource
200 OK

OK