---
title: "Set Work Schedule Day for the Employee"
method: PUT
path: "/company/work-schedule/days/{day}/employees/{employee_id}"
---

# Set Work Schedule Day for the Employee

`PUT /company/work-schedule/days/{day}/employees/{employee_id}`

## Request

- Base URL: `https://api.roapp.io/v2`
- URL: `https://api.roapp.io/v2/company/work-schedule/days/{day}/employees/{employee_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/roapp/apis/ro-app-public-api-v2/docs/company/work-schedule/days/:day/employees/:employee_id/put.ts> (a function with typed inputs; its response is checked against the schema)

Set an employee’s work schedule for a specific day.

## Path parameters

- `day` string, required
- `employee_id` number, required

## Request body

- object
  - `type` 'working' | 'non_working', required
  - `intervals` object[]: Declaration of working intervals
    - `branch_id` number, required: Location ID
    - `starts_at` string, required: Interval start (ISO 8601 datetime in UTC, for example: "2026-09-25T11:00:00Z"
    - `ends_at` string, required: Interval end (ISO 8601 datetime in UTC, for example: "2026-09-25T17:00:00Z"
  - `non_working` object: Declaration for non working day
    - `type` 'sick_day' | 'vacation' | 'day_off', required
    - `is_unpaid` boolean, required

## Response `200`

## Changes

- **2026-11-03** `df0f57c15ea0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/roapp/apis/ro-app-public-api-v2/changes/company/work-schedule/days/:day/employees/:employee_id/put.md)

---

[API](https://skmtc.dev/roapp/apis/ro-app-public-api-v2.md) - [All operations](https://skmtc.dev/roapp/apis/ro-app-public-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/roapp/apis/ro-app-public-api-v2/revisions/df0f57c15ea0?raw)
