PS.DraftProjectResourceCollection.add Method (ps.js)

Adds a new project resource to the collection of draft project resources.

Applies to: Project Professional 2013 | Project Server 2013

PS.DraftProjectResourceCollection.add(parameters)

Parameters

parameters
Type: PS.ProjectResourceCreationInformation
An object that contains information that is used to create the project resource.

Return value

PS.DraftProjectResource

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/Draft/ProjectResources/add(parameters)

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/Draft/ProjectResources/add(parameters)

Resource parameters

  • parameters