PS.PlanAssignmentCollection.getById Method (ps.js)

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

Applies to: Project Professional 2013 | Project Server 2013

PS.PlanAssignmentCollection.getById(objectId)

Parameters

objectId
Type: String
The object identifier.

Return value

PS.PlanAssignment

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

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

Resource parameters

  • objectId
    A string representation of the assignment's Id property.