PS.DraftProjectResource object (ps.js)
Represents an enterprise resource in a checked-out project.
Applies to: Project Professional 2013 | Project Server 2013
In this article
Remarks
Members
REST resource endpoint
PS.DraftProjectResource
Remarks
A resource can be a work resource, a material resource, or a cost resource.
Members
See the PS.ProjectResource object (ps.js) for inherited members that are not described in the following tables.
Methods
The DraftProjectResource object has the following methods.
Method |
Description |
---|---|
This member is reserved for internal use and is not intended to be used directly from your code. |
|
This member is reserved for internal use and is not intended to be used directly from your code. |
|
This member is reserved for internal use and is not intended to be used directly from your code. |
|
This member is reserved for internal use and is not intended to be used directly from your code. |
Properties
The DraftProjectResource object has the following properties.
Property |
Description |
---|---|
REST resource endpoint
Endpoint URI structure
http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/Draft/ProjectResources('resourceid')
HTTP requests
This resource supports the following HTTP commands:
DELETE syntax
DELETE http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/Draft/ProjectResources('resourceid')
MERGE syntax
MERGE http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/Draft/ProjectResources('resourceid')
PUT syntax
PUT http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/Draft/ProjectResources('resourceid')