Share via


PS.PlanAssignmentIntervalCollection.getById Method (ps.js)

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

Applies to: Project Professional 2013 | Project Server 2013

PS.PlanAssignmentIntervalCollection.getById(id)

Parameters

id

Return value

PS.PlanAssignmentInterval

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/getById(id)

HTTP requests

This resource supports the following HTTP commands:

  • GET

GET syntax

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

Resource parameters

  • id