---
title: "PUT /workingTimeRule/id/{id}"
method: PUT
path: "/workingTimeRule/id/{id}"
tags: ["workingTimeRule"]
---

# PUT /workingTimeRule/id/{id}

`PUT /workingTimeRule/id/{id}`

## Request

- Base URL: `https://www.weclapp.com/api/nullapi/v2`
- URL: `https://www.weclapp.com/api/nullapi/v2/workingTimeRule/id/{id}`
- Auth: API key in header `AuthenticationToken`
- TypeScript: <https://skmtc.dev/weclapp/apis/weclapp-api/docs/workingTimeRule/id/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

update workingTimeRule

## Path parameters

- `id` string, required

## Query parameters

- `dryRun` boolean

## Request body

- WorkingTimeRule
  - `id` string
  - `version` string
  - `createdDate` integer
  - `lastModifiedDate` integer
  - `maxDailyWorkDurationInMinutes` integer
  - `maxMonthlyWorkDurationOvertimeInMinutes` integer
  - `name` string, required
  - `workingTimeBreakRules` WorkingTimeBreakRule[]
    - `id` string
    - `version` string
    - `createdDate` integer
    - `lastModifiedDate` integer
    - `requiredBreakDurationInMinutes` integer
    - `workDurationInMinutes` integer

## Response `200`

workingTimeRule update response

- WorkingTimeRule
  - `id` string
  - `version` string
  - `createdDate` integer
  - `lastModifiedDate` integer
  - `maxDailyWorkDurationInMinutes` integer
  - `maxMonthlyWorkDurationOvertimeInMinutes` integer
  - `name` string, required
  - `workingTimeBreakRules` WorkingTimeBreakRule[]
    - `id` string
    - `version` string
    - `createdDate` integer
    - `lastModifiedDate` integer
    - `requiredBreakDurationInMinutes` integer
    - `workDurationInMinutes` integer

## Other responses

- `default`: error response

## Changes

- **2026-11-07** `0e021229755d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/weclapp/apis/weclapp-api/changes/workingTimeRule/id/:id/put.md)

---

[API](https://skmtc.dev/weclapp/apis/weclapp-api.md) - [All operations](https://skmtc.dev/weclapp/apis/weclapp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/weclapp/apis/weclapp-api/revisions/0e021229755d?raw)
