メインコンテンツまでスキップ

Change the company's working hours.

PATCH/api/v1/company/settings/working-hourssettings:write
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Merges the members the body names onto the saved hours; the whole result is checked: timezone a known IANA name or null, day_start and day_end HH:MM with day_end later, working_days ISO weekdays 1 to 7 with at least one. Due dates and the analytics' working-time measures follow the change. Needs Edit Working Hours Settings.

スコープsettings:write (機密性の高いスコープ)
非同期いいえ
MCP ツールupdate_company_settings_working_hours
Portal の権限edit_working_hours_settings

パラメーター​

名前場所型必須説明
Docwize-Versionheaderstring (date)任意
If-Matchheaderstring任意

リクエスト本文​

Content-Type型
application/jsonWorkingHoursPatchInput
application/merge-patch+jsonWorkingHoursPatchInput

応答​

ステータス説明本文
200Success.application/json WorkingHours または object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

WorkingHours​

フィールド型必須説明
day_endstring必須HH:MM, 24-hour; later than day_start.
day_startstring必須HH:MM, 24-hour.
server_timezonestring必須What a null timezone means: the deployment's server timezone (read-only).
timezonestring または null必須The IANA timezone the day's start and end are read in; null means the server timezone.
working_daysinteger の配列必須ISO weekdays, 1 Monday to 7 Sunday, ascending and without repeats.

WorkingHoursPatchInput​

フィールド型必須説明
day_endstring または null任意
day_startstring または null任意
server_timezonestring または null任意
timezonestring または null任意
working_daysinteger の配列 または null任意