PS.DraftAssignmentCollection object (ps.js)

Represents a collection of draft assignments.

Applies to: Project Professional 2013 | Project Server 2013

PS.DraftAssignmentCollection

Members

Methods

The DraftAssignmentCollection object has the following methods.

Method

Description

add

Adds a new assignment to the collection of draft assignments.

getByGuid

getById

itemAt

remove

Properties

The DraftAssignmentCollection object has the following properties.

Property

Description

childItemType

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

item

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/Draft/Assignments

HTTP requests

This resource supports the following HTTP commands:

GET syntax

GET http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/Draft/Assignments

POST syntax

POST http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/Draft/Assignments

See also

Reference

Microsoft.ProjectServer.Client.DraftAssignmentCollection