Skip to main content

Get the company's working hours.

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

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.

Scopesettings:read
AsynchronousNo
MCP toolget_company_settings_working_hours
Portal permissionsview_working_hours_settings

Parameters​

NameInTypeRequiredDescription
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
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

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

WorkingHours​

FieldTypeRequiredDescription
day_endstringRequiredHH:MM, 24-hour; later than day_start.
day_startstringRequiredHH:MM, 24-hour.
server_timezonestringRequiredWhat a null timezone means: the deployment's server timezone (read-only).
timezonestring or nullRequiredThe IANA timezone the day's start and end are read in; null means the server timezone.
working_daysarray of integerRequiredISO weekdays, 1 Monday to 7 Sunday, ascending and without repeats.