PS.PhaseCollection.add Method (ps.js)

Adds a new phase to the collection of phases.

Applies to: Project Professional 2013 | Project Server 2013

PS.PhaseCollection.add(parameters)

Parameters

parameters
Type: PS.PhaseCreationInformation
An object that contains information that is used to create the phase.

Return value

PS.Phase

REST resource endpoint

Endpoint URI structure

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

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

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

Resource parameters

  • parameters