PS.PlanAssignmentInterval object (ps.js)

Represents a time interval for a project plan assignment.

Applies to: Project Professional 2013 | Project Server 2013

PS.PlanAssignmentInterval

Members

Methods

The PlanAssignmentInterval object has the following methods.

Method

Description

initPropertiesFromJson

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

Properties

The PlanAssignmentInterval object has the following properties.

Property

Description

duration

Gets or sets a string representation of the timespan of the interval.

durationMilliseconds

Gets or sets the length of time for the plan assignment interval in milliseconds.

end

Gets the end time of the plan assignment interval.

name

Gets the name of the plan assignment interval.

start

Gets the start time of the plan assignment interval.

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('yyyy-MM-dd')

HTTP requests

This resource supports the following HTTP commands:

MERGE syntax

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

PUT syntax

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

See also

Reference

Microsoft.ProjectServer.Client.PlanAssignmentInterval