ResourcePlan class
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 | .NET | JSOM | REST | Type | Description |
---|---|---|---|---|---|
Assignments | ✓ | ✓ | ✓ | PlanAssignmentCollection | Gets a collection of PlanAssignment objects that are associated with the resource plan. |
Finish | ✓ | ✓ | ✓ | DateTime | Gets the end date of the resource plan. |
Id | ✓ | ✓ | ✓ | Guid | Gets the GUID of the resource plan. |
Start | ✓ | ✓ | ✓ | DateTime | Gets the start date of the resource plan. |
UtilizationDate | ✓ʷ | ✓ʷ | ✓ʷ | DateTime | Gets or sets the date and time of resource utilization for the current resource plan. |
UtilizationType | ✓ʷ | ✓ʷ | ✓ʷ | ProjectUtilizationType | Gets or sets the type of resource utilization for the current resource plan. |
Methods
Name | .NET | JSOM | REST | Return Type | Description |
---|---|---|---|---|---|
DeleteObject() | ✓ | ✓ | ✓ | QueueJob | Deletes the resource plan object. |
ForceCheckIn() | ✓ | ✓ | ✓ | QueueJob | Checks in the project resource plan in case it was left checked out in Project Server. |
Publish() | ✓ | ✓ | ✓ | QueueJob | Publishes the project resource plan and makes it visible to other users in Project Server. |
Update() | ✓ | ✓ | ✓ | QueueJob | Saves 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
ForceCheckIn()
Checks in the project resource plan in case it was left checked out in Project Server.
Syntax
QueueJob ForceCheckIn()
Parameters
None
Return Value
Publish()
Publishes the project resource plan and makes it visible to other users in Project Server.
Syntax
QueueJob Publish()
Parameters
None
Return Value
Update()
Saves changes from the project resource plan back to Project Server.
Syntax
QueueJob Update()
Parameters
None