---
title: "Assign a Working Time Arrangement to an Employee"
method: POST
path: "/schedule/api/employee-assignments"
tags: ["employee-assignments"]
---

# Assign a Working Time Arrangement to an Employee

`POST /schedule/api/employee-assignments`

<Warning>
You may not benefit from this feature. Working-time-arrangements are the
replacement for the workcycles. If this feature has not been deployed on
your environment, please contact our support.
</Warning>

Assigns a new working time arrangement to a single employee, effective from the specified start date (assignmentStart).

This operation will:
1. End the current assignment with an end date set to the eve of `assignmentStart`.
2. Create a work-contract amendment for the employee at `assignmentStart`, that gives them the new working time arrangement.

## Request body

- EmployeeAssignmentCandidate
  - `employeeId` integer, required
  - `workingTimeArrangementId` integer, required
  - `startsOn` string, date, required

## Response `200`

OK

- WtaEmployeeAssignment
  - `id` integer
  - `workContractId` integer, required
  - `workingTimeArrangement` WorkingTimeArrangementLite
    - `id` integer, required
    - `name` string, required
    - `unit` 'day' | 'hour' | 'time', required — An event can be set in: - Day: "I worked for a half day last Monday". - Hour: "I worked for 2 hours last Monday". - Time: "I worked between 10:00 AM and 12:00 AM last Monday".
  - `startsOn` string, date, required
  - `endsOn` string, date, nullable
  - `employee` WtaEmployee, required
    - `id` integer, required
    - `firstName` string, required
    - `lastName` string, required
    - `displayName` string, required
    - `jobQualificationName` string, required
    - `employeeNumber` string, required
    - `establishmentId` integer, required
    - `establishmentName` string, required
    - `department` WtaDepartment, required
      - `id` integer, required
      - `name` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

---

[API](https://skmtc.net/luccasoftware/apis/lucca-expenses.md) · [All operations](https://skmtc.net/luccasoftware/apis/lucca-expenses/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/luccasoftware/lucca-expenses/revisions/110f9897756c/schema)
