PS.PlanAssignmentIntervalCollection object (ps.js)

Represents a collection of time intervals for project plan assignments.

Applies to: Project Professional 2013 | Project Server 2013

PS.PlanAssignmentIntervalCollection

Members

Methods

The PlanAssignmentIntervalCollection object has the following methods.

Method

Description

getById

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

getByStart

Gets a plan assignment interval from the collection of plan assignment intervals, with the specified start date.

itemAt

Properties

The PlanAssignmentIntervalCollection 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

Gets the item at the specified index of the collection.

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('assignmentid')/Intervals

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('assignmentid')/Intervals

POST syntax

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

See also

Reference

Microsoft.ProjectServer.Client.PlanAssignmentInterval