PS.PlanAssignmentCollection object (ps.js)

Represents a collection of plan assignments.

Applies to: Project Professional 2013 | Project Server 2013

PS.PlanAssignmentCollection

Members

Methods

The PlanAssignmentCollection object has the following methods.

Method

Description

add

Adds a new plan assignment to the collection of plan assignments.

getByGuid

Gets the plan assignment that has the specified GUID from the collection.

getById

Gets the plan assignment that has the specified Id value from the collection.

itemAt

remove

Removes the specified plan assignment from the collection of plan assignments.

Properties

The PlanAssignmentCollection object has the following properties.

Property

Description

childItemType

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

item

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/GetResourcePlanByUrl(start='yyyy-MM-dd',end='yyyy-MM-dd',scale='timescale')/Assignments

HTTP requests

This resource supports the following HTTP commands:

GET syntax

GET http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/GetResourcePlanByUrl(start='yyyy-MM-dd',end='yyyy-MM-dd',scale='timescale')/Assignments

POST syntax

POST http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/GetResourcePlanByUrl(start='yyyy-MM-dd',end='yyyy-MM-dd',scale='timescale')/Assignments

See also

Reference

Microsoft.ProjectServer.Client.PlanAssignmentCollection