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

deleteObject

initNonPropertiesFromJson

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

initPropertiesFromJson

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

loadExpandoFields

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

refreshLoad

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

assignments

canLevel

code

costAccrual

costCenter

costPerUse

defaultAssignmentOwner

defaultBookingType

email

fieldValues

group

initials

item

materialLabel

maximumCapacity

name

overtimeRate

overtimeRateUnits

phonetics

standardRate

standardRateUnits

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')

See also

Reference

Microsoft.ProjectServer.Client.DraftProjectResource