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.
Item -> ScheduleDurationItem
| Field | Type | Inherited from | Description |
|---|---|---|---|
| Href | String | Item | Gets or sets the href. |
| 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 holiday exception types that determine whether this schedule duration applies on holidays. |
| StartingAt | TimeSpan | ScheduleDurationItem | Gets or sets the starting at. (hh:mm:ss) From Start of day. |
{
"Href" : "String",
"DayMask" : "Int32",
"Duration" : "TimeSpan",
"Holiday" : "String",
"HolidayExceptions" : "[HolidayExceptionTypes](/object-model/holidayexceptiontypes)",
"StartingAt" : "TimeSpan"
}
Example in C#
// Returns: nothing
await client.AddScheduleDurationAsync(ScheduleInfo schedule, ScheduleDurationItem item);
Example in C#
// Returns: nothing
await client.DeleteScheduleDurationAsync(ScheduleInfo schedule, ScheduleDurationItem item);