Org Schedules Create

POST
Creates an organization schedule with a default weekly organization schedule and a list of organization schedule fragments.

Request

This endpoint expects an object.
namestringRequired
Human-readable name.
timezonestringRequired

Timezone in which the organization schedule applies. Expected to be a valid IANA time zone name such as America/New_York.

default_weekly_org_scheduleobjectOptional
min_valid_dayslongOptional
Organization schedule must be valid for at least this many days in the future. Meaning organization schedule fragments must cover this period. 0 if omitted.
org_schedule_fragmentslist of objectsOptional
List of organization schedule fragments with no overlaps or gaps.
weekly_org_scheduleslist of objectsOptional
If this day belongs to a named period according to the currently active organization schedule fragment, a weekly organization schedule from this list with the corresponding name will apply.

Response

This endpoint returns an object.
org_scheduleobject