Skip to main content
PUT
Feed a batch of scheduled weeks (merged idempotently by week)

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

employeeId
string
required

The ID of the employee

Body

application/json

Feed a batch of scheduled weeks (e.g. from an external scheduler). Merged by week-commencing date, idempotently.

effectiveFrom
string
required

The effective date of the explicit-schedule version to merge into. Format YYYY-MM-DD.

Example:

"2026-04-06"

weeks
object[]
required

The weeks to upsert. Each is matched on weekCommencing, so re-sending a week updates it.

Response

Working schedule updated successfully

message
object
content
object
validationIssues
object[]