Time clock

Assign a work schedule to an employee

An employee follows a schedule from a date (until a date, or open): the days it reaches back to are recomputed. Overlapping assignments are refused.

post/api/v1/rest/timbratura/employees/{partyId}/assignments

Request

  • Base URL: https://api.custodo.ai
  • URL: https://api.custodo.ai/api/v1/rest/timbratura/employees/{partyId}/assignments
  • Auth: HTTP bearer

Path parameters

partyIdstring uuid required

The employee.

Headers

X-Tenant-Idstring uuid

The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.

Request body

scheduleIdstring uuid required
validFromstring date required
validTostring date nullable

Response

Done. data is the tool’s own answer.

oktrue required
dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.