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

Get the company's working hours.

GET/api/v1/company/settings/working-hourssettings:read
注記

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

When the company works, with the defaults (08:00 to 17:00, Monday to Friday, server timezone) while none were saved, and server_timezone, what a null timezone means. Needs View Working Hours Settings.

スコープsettings:read
非同期いいえ
MCP ツールget_company_settings_working_hours
Portal の権限view_working_hours_settings

パラメーター​

名前場所型必須説明
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json WorkingHours
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/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
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.