Requests
- Authorize
- Meetings
- MyMeetings
- MyTasks
- Tasks
- Users
- WebHooks
Objects
Enums
|
JSRecurrencePattern
Defines a recurrence pattern from a recurrence type and some properties.
Some properties are only relevant on specific recurrence types.
Property name |
Value |
Description |
DaylightDate |
DateTime |
The day and time where the switch from standard to daylight saving timne occurs.
The date should be in the same year as the startdate of the pattern. |
DaylightOffset |
Integer |
The daylight saving offset in minutes
E.g. for CET that is -120 |
DayOfMonth |
Integer |
The day of month on which the recurring occurs. |
DayOfWeekMask |
Integer |
A day mask with one bit for each day. Sunday=1, Monday=2, Tuesday=4 e.t.c
Eg. Monday and Tuesdays will be the value 6 |
Duration |
Integer |
The duration of each instance in minutes |
EndDate |
DateTime |
Optional end date of the pattern.
If no end date or Occurrences is specified the recurrence is endless. |
Exceptions |
JSRecurrenceException[] |
The exceptions to the pattern.
For meetings, only the deleted instances are exceptions to the pattern.
The list should be sorted by OriginalDate
Moved meetings will be in the Instances on the JSMeetingRecurrence |
Instance |
Integer |
Specifies the count for which the pattern is valid. Only applies to MonthlyNth and YearlyNth
E.g. MonthlyNth the second monday |
Interval |
Integer |
Specify the interval between occurences.
Eg. for a daily recurrence with interval=2 - the recurrence will occur every 2nd day. |
Occurences |
Integer |
Optional number occurences.
If you do not specify an end date you can specify how many occurences you want.
If nt end date or Occurrences is specified the recurrence is endless. |
RecurrenceType |
JSRecurrenceTypes |
The type of recurrernce. Daily, Weekly e.t.c. |
StandardDate |
DateTime |
The day and time where the switch from daylight saving time to standard time occurs.
The date should be in the same year as the startdate of the pattern. |
StandardOffset |
Integer |
The standard time offset in minutes.
E.g. for CET that is -60 |
StartDate |
DateTime |
Start date of the recurrence pattern. |
JSON Example:
{
"StartDate": "2017-05-25T13:00:00Z",
"RecurrenceType": "WEEKLY",
"Occurences": 5,
"DayOfWeekMask": 48,
"Duration": 120,
"Interval": 1,
"Instance": 0,
"DayOfMonth": 0,
"StandardDate": "2017-10-29T03:00:00Z",
"DaylightDate": "2017-03-26T02:00:00Z",
"StandardOffset": -60,
"DaylightOffset": -120,
"Exceptions": [ JSRecurrenceException]
}
|