Skip to main content
POST
Locks a payroll

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 payroll config id

year
integer
required

The year in format yyyy

period
integer
required

The period of the pay run (1, 2, 3... etc)

Response

The payroll lock was created successfully

message
object
content
object
validationIssues
object[]
messageToken
string