Get the company's working hours.
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.
| |
|---|
| Scope | settings:read |
| Asynchronous | No |
| MCP tool | get_company_settings_working_hours |
| Portal permissions | view_working_hours_settings |
Parameters
| Name | In | Type | Required | Description |
|---|
Docwize-Version | header | string (date) | Optional | |
If-None-Match | header | string | Optional | Answers 304 when the representation is unchanged (resources that publish an ETag). |
Responses
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
WorkingHours
| Field | Type | Required | Description |
|---|
day_end | string | Required | HH:MM, 24-hour; later than day_start. |
day_start | string | Required | HH:MM, 24-hour. |
server_timezone | string | Required | What a null timezone means: the deployment's server timezone (read-only). |
timezone | string or null | Required | The IANA timezone the day's start and end are read in; null means the server timezone. |
working_days | array of integer | Required | ISO weekdays, 1 Monday to 7 Sunday, ascending and without repeats. |