CreateProviderScheduleRequest
Request schema for creating a provider schedule.
effective_fromstring<date_time>required
The effective date of the provider schedule.
effective_tostring<date_time>nullable
The effective end date of the provider schedule.
public_bookings object
Public booking settings for the schedule.
enabledbooleanrequired
Whether public bookings are enabled for the schedule.
Default value:
trueweekly_rules object[]
Weekly rules for the schedule.
Array [
daystringrequired
The day of the week.
Possible values: [mo, tu, we, th, fr, sa, su]
end_timestringrequired
The end time of the rule.
Possible values: Value must match regular expression ^(?:[01]\d|2[0-3]):[0-5]\d$
start_timestringrequired
The start time of the rule.
Possible values: Value must match regular expression ^(?:[01]\d|2[0-3]):[0-5]\d$
]
CreateProviderScheduleRequest
{
"effective_from": "2025-01-01",
"effective_to": "2025-12-31",
"public_bookings": {
"enabled": true
},
"weekly_rules": [
{
"day": "mo",
"end_time": "17:00",
"start_time": "09:00"
}
]
}