PS.EnterpriseResourceCollection object (ps.js)

Represents a collection of enterprise resources.

Applies to: Project Professional 2013 | Project Server 2013

PS.EnterpriseResourceCollection

Members

Methods

The EnterpriseResourceCollection object has the following methods.

Method

Description

add

Adds a new enterprise resource to the collection of enterprise resources.

getByGuid

getById

getByUser

itemAt

remove

update

Properties

The EnterpriseResourceCollection 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

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/ProjectServer/EnterpriseResources

HTTP requests

This resource supports the following HTTP commands:

GET syntax

GET http://<sitecollection>/<site>/_api/ProjectServer/EnterpriseResources

POST syntax

POST http://<sitecollection>/<site>/_api/ProjectServer/EnterpriseResources

See also

Reference

Microsoft.ProjectServer.Client.EnterpriseResourceCollection