---
schema: rendered-html/v1
title: "Operations with Specific WorkTimeSettings | Developer Portal for YouTrack and Hub Documentation"
source_url: https://www.jetbrains.com/help/youtrack/devportal/operations-api-admin-timeTrackingSettings-workTimeSettings.html
generated_at: 2026-06-11T15:05:28.156639+00:00
---

Feedback

Thanks for your feedback!

Was this page helpful?

YesNo

Developer Portal for YouTrack and Hub

- Developer Portal
- Apps
- MCP Tools
- YouTrack Workflows
- YouTrack Import Scripts
- YouTrack Form API
- YouTrack REST API
- Get Started with REST API
- REST API Reference
- Entities
- Resources
- Activity Items
- Issue Activities Page
- Build Bundles
- Enum Bundles
- Owned Bundles
- State Bundles
- User Bundles
- Version Bundles
- Custom Fields
- Field Types
- Backup Files
- Database Backup Settings
- Global Settings
- Organizations
- Projects
- Telemetry data
- Global Time Tracking Settings
- [Operations with Specific GlobalTimeTrackingSettings](jetbrains__com__help__youtrack__devportal__operations-api-admin-timetrackingsettings.md)
- Sub-resources
- Work Item Types
- Work Time Settings
- [Operations with Specific WorkTimeSettings](operations-api-admin-timeTrackingSettings-workTimeSettings.html)
- Agiles
- Articles
- Assigned Roles
- Commands
- Command Suggestions
- User Groups
- Issue Link Types
- Issue Tag
- Issues
- Issue Count
- Permissions
- Roles
- Saved Queries
- Search Suggestions
- Tags
- Users
- My User Profile
- Issue Work Items
- REST API Use Cases
- REST API Troubleshooting
- Color Indices List
- Hub REST API

1. YouTrack REST API
2. REST API Reference
3. Resources
4. Global Time Tracking Settings
5. [Sub-resources](#0)
6. Work Time Settings
7. [Operations with Specific WorkTimeSettings](#0)

# Operations with Specific WorkTimeSettings﻿

Last modified: 24 March 2026

This resource lets you configure the system-wide work time settings.

| Resource | ``` /api/admin/timeTrackingSettings/workTimeSettings ``` |
| --- | --- |
| Returned entity | WorkTimeSettings. For the description of the entity attributes, see [Supported Fields](/help/youtrack/devportal/operations-api-admin-timeTrackingSettings-workTimeSettings.html#WorkTimeSettings-supported-fields) section. |
| Supported methods | - `GET`: [Read a Specific WorkTimeSettings](/help/youtrack/devportal/operations-api-admin-timeTrackingSettings-workTimeSettings.html#get-WorkTimeSettings-method). - `POST`: [Update a Specific WorkTimeSettings](/help/youtrack/devportal/operations-api-admin-timeTrackingSettings-workTimeSettings.html#update-WorkTimeSettings-method). |

## WorkTimeSettings attributes﻿

Work schedule settings.

### Related Resources﻿

Below you can find the list of resources that let you work with this entity.

- Work Time Settings

### Attributes﻿

This table describes attributes of the `WorkTimeSettings` entity.

- To receive an attribute in the response from the server, specify it explicitly in the `fields` request parameter.
- To update an attribute, provide it in the body of a POST request.

| Field | Type | Description |
| --- | --- | --- |
| id | String | The ID of the work schedule settings. `Read-only`. |
| minutesADay | Int | Number of minutes per working day. For example, for an 8-hour day, it would be 480. |
| workDays | Array of Ints | The indexes of the days of the week that are counted as working days. Sunday's index is 0, Monday's index is 1 and so on. |
| firstDayOfWeek | Int | Index of the first day of week. It depends on server locale. `Read-only`. |
| daysAWeek | Int | Number of working days a week. `Read-only`. |

## Read a Specific WorkTimeSettings﻿

Read the system work time settings.

### Required permissions﻿

Requires permissions: Read Work Item

### Request syntax﻿

GET /api/admin/timeTrackingSettings/workTimeSettings?{fields}

| null | The database ID of WorkTimeSettings |
| --- | --- |

### Request parameters﻿

| Parameter | Type | Description |
| --- | --- | --- |
| fields | String | A list of WorkTimeSettings attributes that should be returned in the response. If no field is specified, only the `entityID` is returned. |

### Sample﻿

#### Sample request﻿

https://example.youtrack.cloud/api/admin/timeTrackingSettings/workTimeSettings?fields=id,name,workDays,firstDayOfWeek

#### Sample response body﻿

{
  "workDays": [
    0,
    1,
    2,
    3,
    4,
    5
  ],
  "firstDayOfWeek": 0,
  "id": "64-0"
}

## Update a Specific WorkTimeSettings﻿

Update the work time settings.

### Request syntax﻿

POST /api/admin/timeTrackingSettings/workTimeSettings?{fields}

| null | The database ID of WorkTimeSettings |
| --- | --- |

### Request parameters﻿

| Parameter | Type | Description |
| --- | --- | --- |
| fields | String | A list of WorkTimeSettings attributes that should be returned in the response. If no field is specified, only the `entityID` is returned. |

### Sample﻿

#### Sample request﻿

https://example.youtrack.cloud/api/admin/timeTrackingSettings/workTimeSettings?fields=id,name,workDays,firstDayOfWeek,minutesADay

#### Sample request body﻿

{
  "workDays": [1,2,3,4,5],
  "firstDayOfWeek": 1,
  "minutesADay":450
}

#### Sample response body﻿

{
  "workDays": [
    1,
    2,
    3,
    4,
    5
  ],
  "minutesADay": 450,
  "firstDayOfWeek": 0,
  "id": "64-0",
  "$type": "WorkTimeSettings"
}

- [Operations with Specific WorkTimeSettings](/help/youtrack/devportal/operations-api-admin-timeTrackingSettings-workTimeSettings.html)
- [WorkTimeSettings attributes](/help/youtrack/devportal/operations-api-admin-timeTrackingSettings-workTimeSettings.html#WorkTimeSettings-supported-fields)
- [Read a Specific WorkTimeSettings](/help/youtrack/devportal/operations-api-admin-timeTrackingSettings-workTimeSettings.html#get-WorkTimeSettings-method)
- [Update a Specific WorkTimeSettings](/help/youtrack/devportal/operations-api-admin-timeTrackingSettings-workTimeSettings.html#update-WorkTimeSettings-method)

Work Time SettingsAgiles

- Privacy & Security
- Terms Of Use
- Trademarks
- Legal

Copyright © 2000–2026 JetBrains s.r.o.
