Create a new calendar block

Creates a new calendar block. You must specify a StartDateTime and EndDateTime.
A reason for the block is also required. This reason will display in the OnSched Portal Calendar.

Calendar blocks can be set to specific time ranges or for the whole day.

Calendar blocks can be for a specific date range instance or set to repeat at a specified frequency.
The frequency can be set to a value of D,W,M,Y for Day, Week, Month, or Year respecitively.

Daily blocks will repeat for each day of the week for the date range specified.

Weekly blocks will repeat only on the specified days of the week for the date range specified. For a weekly block
you must also specify the weekdays. Weekdays are expressed as a string of digits with each single digit in the string representing a day
of the week. The possible values are 0,1,2,3,4,5,6 where 0=Sunday, 1=Monday, 2=Tuesday, 3=Wed, 4=Thursday, 5=Friday, 6=Saturday.
For example a repeat weekly entry with weekdays 24 repeats each week on Tuesday and Thursday.

Use the interval property to specify the interval that the block repeats. For example an interval of 2 for a weekly block means that
the block will repeat every second week beginning at the day specified. A daily block with an interval of 10 means the block will
repeat every 10 days. The interval property applies to all repeat frequencies.

Monthly blocks repeat either on the day of the month specified in the month day property or on the day of the week and week of the month specified by
the start date. For example, repeat every 3rd friday of each month, repeat on the 21st day of the month.

Repeat blocks will end on the date specified by the end date. You can specify never in the EndDateTime field to indicate the repeating block
should continue indefinitely.

Language
Authentication
OAuth2
Log Out
Response
Click Try It! to start a request and see the response here!