PS.DraftProjectResourceCollection object (ps.js)

Office 2013 and later

Represents a collection of draft project resources.

Last modified: February 12, 2013

Applies to: Project Professional 2013 | Project Server 2013

PS.DraftProjectResourceCollection

Methods

The DraftProjectResourceCollection object has the following methods.

Method

Description

add

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

addEnterpriseResource

getByGuid

getById

itemAt

remove

Properties

The DraftProjectResourceCollection object has the following properties.

Property

Description

childItemType

This member is reserved for internal use and is not intended to be used directly from your code.

item

Endpoint URI structure

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

HTTP requests

This resource supports the following HTTP commands:

GET syntax

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

POST syntax

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