Share via


PS.CalendarCollection.add Method (ps.js)

Adds a new calendar to the collection of calendars.

Applies to: Project Professional 2013 | Project Server 2013

PS.CalendarCollection.add(parameters)

Parameters

parameters
Type: PS.CalendarCreationInformation
An object that contains information that is used to create the calendar.

Return value

PS.Calendar

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/ProjectServer/Calendars/add(parameters)

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/ProjectServer/Calendars/add(parameters)

Resource parameters

  • parameters