PS.EnterpriseResourceCollection.add Method (ps.js)

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

Applies to: Project Professional 2013 | Project Server 2013

PS.EnterpriseResourceCollection.add(parameters)

Parameters

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

Return value

PS.EnterpriseResource

REST resource endpoint

Endpoint URI structure

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

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

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

Resource parameters

  • parameters