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-Version | header | string (date) | 任意 | |
If-None-Match | header | string | 任意 | Answers 304 when the representation is unchanged (resources that publish an ETag). |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json WorkingHours |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
WorkingHours
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
day_end | string | 必須 | HH:MM, 24-hour; later than day_start. |
day_start | string | 必須 | HH:MM, 24-hour. |
server_timezone | string | 必須 | What a null timezone means: the deployment's server timezone (read-only). |
timezone | string または null | 必須 | The IANA timezone the day's start and end are read in; null means the server timezone. |
working_days | integer の配列 | 必須 | ISO weekdays, 1 Monday to 7 Sunday, ascending and without repeats. |