PS.StatusAssignmentCollection.add Method (ps.js)
Adds a new assignment to the collection of assignments.
Applies to: Project Professional 2013 | Project Server 2013
PS.StatusAssignmentCollection.add(parameters)
Parameters
parameters
Type: PS.StatusAssignmentCreationInformation
An object that contains information that is used to create the assignment.
Return value
PS.StatusAssignment
REST resource endpoint
Endpoint URI structure
http://<sitecollection>/<site>/_api/ProjectServer/EnterpriseResources('resourceid')/Assignments/add(parameters)
HTTP requests
This resource supports the following HTTP commands:
- POST
POST syntax
POST http://<sitecollection>/<site>/_api/ProjectServer/EnterpriseResources('resourceid')/Assignments/add(parameters)
Resource parameters
- parameters