ScheduleDurationItem

Represents a specific day (or days) that a schedule is active at a specific timeframe.

Schedule Duration Items are added to the ScheduleInfo class to define the day/time intervals.

ScheduleDurationItem Properties

ScheduleDurationItem

Field Type Inherited from Description
DayMask Int32 ScheduleDurationItem Gets or sets the day mask. ie 62 = 00111110 which enables Monday-Friday (Right to Left)
Duration TimeSpan ScheduleDurationItem Gets or sets the duration. (hh:mm:ss) From StartingAt.
Holiday String ScheduleDurationItem Gets or sets the holiday. OPTIONAL, see HolidayInfo
HolidayExceptions HolidayExceptionTypes ScheduleDurationItem Gets or sets the HolidayExceptions value
StartingAt TimeSpan ScheduleDurationItem Gets or sets the starting at. (hh:mm:ss) From Start of day.

JSON Structure of ScheduleDurationItem

{
   "DayMask"	:	"Int32",
   "Duration"	:	"TimeSpan",
   "Holiday"	:	"String",
   "HolidayExceptions"	:	"[HolidayExceptionTypes](/object-model/holidayexceptiontypes)",
   "StartingAt"	:	"TimeSpan"
}