Table of contents
API
TOC
Collapse the table of content
Expand the table of content

CalendarExceptionCreationInformation class

Nadin Merali|Last Updated: 5/6/2017

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.NETJSOMRESTTypeDescription
Finish✓ʷ✓ʷ✓ʷDateTimeGets or sets the date and time that the calendar exception ends.
Name✓ʷ✓ʷ✓ʷStringGets or sets the name given for the calendar exception, such as Vacation.
RecurrenceDays✓ʷ✓ʷ✓ʷCalendarRecurrenceDaysGets or sets a mask that represents the days of the week on which the calendar exception is effective.
RecurrenceFrequency✓ʷ✓ʷ✓ʷIntegerGets or sets the interval at which the calendar exception occurs.
RecurrenceMonth✓ʷ✓ʷ✓ʷIntegerGets or sets the month when setting a yearly recurrence.
RecurrenceMonthDay✓ʷ✓ʷ✓ʷIntegerGets or sets the day of the month when setting a yearly recurrence.
RecurrenceType✓ʷ✓ʷ✓ʷCalendarRecurrenceTypeGets or sets the recurrence type for the calendar exception.
RecurrenceWeek✓ʷ✓ʷ✓ʷCalendarRecurrenceWeekGets or sets the week number of a monthly occurrence.
Shift1Finish✓ʷ✓ʷ✓ʷIntegerGets or sets the minute of the day that the first shift ends.
Shift1Start✓ʷ✓ʷ✓ʷIntegerGets or sets the minute of the day that the first shift starts.
Shift2Finish✓ʷ✓ʷ✓ʷIntegerGets or sets the minute of the day that the second shift ends.
Shift2Start✓ʷ✓ʷ✓ʷIntegerGets or sets the minute of the day that the second shift starts.
Shift3Finish✓ʷ✓ʷ✓ʷIntegerGets or sets the minute of the day that the third shift ends.
Shift3Start✓ʷ✓ʷ✓ʷIntegerGets or sets the minute of the day that the third shift starts.
Shift4Finish✓ʷ✓ʷ✓ʷIntegerGets or sets the minute of the day that the fourth shift ends.
Shift4Start✓ʷ✓ʷ✓ʷIntegerGets or sets the minute of the day that the fourth shift starts.
Shift5Finish✓ʷ✓ʷ✓ʷIntegerGets or sets the minute of the day that the fifth shift ends.
Shift5Start✓ʷ✓ʷ✓ʷIntegerGets or sets the minute of the day that the fifth shift starts.
Start✓ʷ✓ʷ✓ʷDateTimeGets or sets the date and time that the calendar exception starts.

See Also

CalendarException
CalendarExceptionCollection

© 2018 Microsoft