PS.PlanAssignment object (ps.js)
Provides information about an assignment in a project plan.
Last modified: February 26, 2013
Applies to: Project Professional 2013 | Project Server 2013
PS.PlanAssignment
Methods
The PlanAssignment object has the following methods.
|
Method |
Description |
|---|---|
|
Deletes the plan assignment. |
|
|
This member is reserved for internal use and is not intended to be used directly from your code. |
|
|
This member is reserved for internal use and is not intended to be used directly from your code. |
|
|
This member is reserved for internal use and is not intended to be used directly from your code. |
|
|
This member is reserved for internal use and is not intended to be used directly from your code. |
Properties
The PlanAssignment object has the following properties.
|
Property |
Description |
|---|---|
|
Gets or sets the booking type for a plan assignment. |
|
|
Gets a Boolean value that indicates whether resource leveling can be performed on a plan assignment resource. |
|
|
Gets any code, abbreviation, or number that is entered as custom information for a plan assignment. |
|
|
Gets any code, abbreviation, or number that is entered as custom cost center information for a plan assignment. |
|
|
Gets the collection of custom fields that have values set for a plan assignment. |
|
|
Gets the email address of the resource for a plan assignment. |
|
|
Gets the collection of custom fields that have values set for a plan assignment. |
|
|
Gets the name of the group that a plan assignment resource belongs to. |
|
|
Gets the date and time that a plan assignment resource was hired. |
|
|
Gets the GUID of a plan assignment. |
|
|
Gets the collection of plan assignment time intervals. |
|
|
Gets a Boolean value that indicates whether a plan assignment resource is in a team assignment pool. |
|
|
|
|
|
Gets the full name of a plan assignment resource. |
|
|
Gets phonetic information for resource names, in either the Japanese Hiragana writing system or the Katakana writing system. |
|
|
Gets a resource that is part of an organization's entire list of resources and that can be shared across projects. |
|
|
Gets the type of the plan assignment resource. |
|
|
Gets the date and time after which a plan assignment resource can no longer be used. |
Endpoint URI structure
http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/GetResourcePlanByUrl(start='yyyy-MM-dd',end='yyyy-MM-dd',scale='timescale')/Assignments('assignmentid')
HTTP requests
This resource supports the following HTTP commands:
DELETE syntax
DELETE http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/GetResourcePlanByUrl(start='yyyy-MM-dd',end='yyyy-MM-dd',scale='timescale')/Assignments('assignmentid')
MERGE syntax
MERGE http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/GetResourcePlanByUrl(start='yyyy-MM-dd',end='yyyy-MM-dd',scale='timescale')/Assignments('assignmentid')
PUT syntax
PUT http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/GetResourcePlanByUrl(start='yyyy-MM-dd',end='yyyy-MM-dd',scale='timescale')/Assignments('assignmentid')