Update Payroll Settings
Changes your company’s Attendance Cycle, as the app’s Salary Settings do. Needs Payroll on your plan. Shared rules: see Writing data.
- The body is closed: an unknown field is refused with
400. Counts toward your write budget. attendance_cycle_starts_on_dayis required, 1-28.1makes the cycle the calendar month; 2-28 starts each cycle on that day, so26makes 26 October to 25 November the November cycle.- Payroll worked out after the change uses the new cycle. The response has the settings after the change, the same as Fetch Payroll Settings.
- To change salary calculation days, Include Weekoffs or Include Holidays, use Update Company Settings.
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Request
This endpoint expects an object.
attendance_cycle_starts_on_day
1 is the calendar month; 2-28 starts each cycle on that day.
Response
The settings were saved. data has the settings after the change.
message
status
data
Errors
400
Bad Request Error
403
Forbidden Error
