Skip to main content
POST
Set a payroll config's default working pattern (overrides the organisation default)

Authorizations

X-Auth-Token
string
header
required

Access token obtained from OAuth2 client credentials flow

X-Org-Id
string
header
required

Organisation to scope the request to. Required when the principal can access more than one organisation; optional for single-organisation principals (the authorizer resolves it automatically).

Path Parameters

payrollConfigId
string
required

The ID of the payroll config

Body

application/json

A default working pattern and SSP qualifying-day policy, used at organisation and payroll-config scope as a fallback for employees with no pattern of their own.

qualifyingDayMode
enum<string>
default:DeriveFromPattern
required

How SSP qualifying days are decided for employees falling back to this default.

Available options:
DeriveFromPattern,
AgreedFixedDays,
WednesdayDefault
defaultWorkingDays
object

The default working pattern. Omit to leave this scope with no pattern default.

agreedQualifyingDays
object

The agreed qualifying weekdays. Required when qualifyingDayMode is "AgreedFixedDays".

Response

Working pattern defaults saved successfully

message
object
content
object
validationIssues
object[]