Table of contents
API
TOC
Collapse the table of content
Expand the table of content

ResourcePlan class

Nadin Merali|Last Updated: 5/6/2017

inherits members from ClientObject

Represents a high-level look at what resources might be needed for a project.

Syntax

CSOM

class ResourcePlan 

JSOM

PS.ResourcePlan

REST Interface

Supported.

PS.ResourcePlan

http://contoso.sharepoint.com/sites/pwa/_api/ProjectServer/Projects('{projectid}')/GetResourcePlanByUrl(start='{yyyy-MM-dd}',end='{yyyy-MM-dd}',scale='{timescale}')

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name.NETJSOMRESTTypeDescription
AssignmentsPlanAssignmentCollectionGets a collection of PlanAssignment objects that are associated with the resource plan.
FinishDateTimeGets the end date of the resource plan.
IdGuidGets the GUID of the resource plan.
StartDateTimeGets the start date of the resource plan.
UtilizationDate✓ʷ✓ʷ✓ʷDateTimeGets or sets the date and time of resource utilization for the current resource plan.
UtilizationType✓ʷ✓ʷ✓ʷProjectUtilizationTypeGets or sets the type of resource utilization for the current resource plan.

Methods

Name.NETJSOMRESTReturn TypeDescription
DeleteObject()QueueJobDeletes the resource plan object.
ForceCheckIn()QueueJobChecks in the project resource plan in case it was left checked out in Project Server.
Publish()QueueJobPublishes the project resource plan and makes it visible to other users in Project Server.
Update()QueueJobSaves changes from the project resource plan back to Project Server.


Method Details

DeleteObject()

Deletes the resource plan object.

Syntax
QueueJob DeleteObject()
Parameters

None

Return Value

QueueJob

ForceCheckIn()

Checks in the project resource plan in case it was left checked out in Project Server.

Syntax
QueueJob ForceCheckIn()
Parameters

None

Return Value

QueueJob

Publish()

Publishes the project resource plan and makes it visible to other users in Project Server.

Syntax
QueueJob Publish()
Parameters

None

Return Value

QueueJob

Update()

Saves changes from the project resource plan back to Project Server.

Syntax
QueueJob Update()
Parameters

None

Return Value

QueueJob

See Also

Project

© 2018 Microsoft