CalendarExceptionCreationInformation class

Provides information for the creation of a calendar exception.

Syntax

CSOM

class CalendarExceptionCreationInformation 

JSOM

PS.CalendarExceptionCreationInformation

REST Interface

Supported.

PS.CalendarExceptionCreationInformation

http://contoso.sharepoint.com/sites/pwa/api/ProjectServer/Calendars('{calendarid}')/BaseCalendarExceptions/Add

POST Example (not all fields may be required)

body = {
    'parameters': {
        'Finish':'value', 
        'Name':'value', 
        'RecurrenceDays':'value', 
        'RecurrenceFrequency':'value', 
        'RecurrenceMonth':'value', 
        'RecurrenceMonthDay':'value', 
        'RecurrenceType':'value', 
        'RecurrenceWeek':'value', 
        'Shift1Finish':'value', 
        'Shift1Start':'value', 
        'Shift2Finish':'value', 
        'Shift2Start':'value', 
        'Shift3Finish':'value', 
        'Shift3Start':'value', 
        'Shift4Finish':'value', 
        'Shift4Start':'value', 
        'Shift5Finish':'value', 
        'Shift5Start':'value', 
        'Start':'value'     
    }

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name .NET JSOM REST Type Description
Finish ✓ʷ ✓ʷ ✓ʷ DateTime Gets or sets the date and time that the calendar exception ends.
Name ✓ʷ ✓ʷ ✓ʷ String Gets or sets the name given for the calendar exception, such as Vacation.
RecurrenceDays ✓ʷ ✓ʷ ✓ʷ CalendarRecurrenceDays Gets or sets a mask that represents the days of the week on which the calendar exception is effective.
RecurrenceFrequency ✓ʷ ✓ʷ ✓ʷ Integer Gets or sets the interval at which the calendar exception occurs.
RecurrenceMonth ✓ʷ ✓ʷ ✓ʷ Integer Gets or sets the month when setting a yearly recurrence.
RecurrenceMonthDay ✓ʷ ✓ʷ ✓ʷ Integer Gets or sets the day of the month when setting a yearly recurrence.
RecurrenceType ✓ʷ ✓ʷ ✓ʷ CalendarRecurrenceType Gets or sets the recurrence type for the calendar exception.
RecurrenceWeek ✓ʷ ✓ʷ ✓ʷ CalendarRecurrenceWeek Gets or sets the week number of a monthly occurrence.
Shift1Finish ✓ʷ ✓ʷ ✓ʷ Integer Gets or sets the minute of the day that the first shift ends.
Shift1Start ✓ʷ ✓ʷ ✓ʷ Integer Gets or sets the minute of the day that the first shift starts.
Shift2Finish ✓ʷ ✓ʷ ✓ʷ Integer Gets or sets the minute of the day that the second shift ends.
Shift2Start ✓ʷ ✓ʷ ✓ʷ Integer Gets or sets the minute of the day that the second shift starts.
Shift3Finish ✓ʷ ✓ʷ ✓ʷ Integer Gets or sets the minute of the day that the third shift ends.
Shift3Start ✓ʷ ✓ʷ ✓ʷ Integer Gets or sets the minute of the day that the third shift starts.
Shift4Finish ✓ʷ ✓ʷ ✓ʷ Integer Gets or sets the minute of the day that the fourth shift ends.
Shift4Start ✓ʷ ✓ʷ ✓ʷ Integer Gets or sets the minute of the day that the fourth shift starts.
Shift5Finish ✓ʷ ✓ʷ ✓ʷ Integer Gets or sets the minute of the day that the fifth shift ends.
Shift5Start ✓ʷ ✓ʷ ✓ʷ Integer Gets or sets the minute of the day that the fifth shift starts.
Start ✓ʷ ✓ʷ ✓ʷ DateTime Gets or sets the date and time that the calendar exception starts.

See Also

CalendarException
CalendarExceptionCollection