PS.DraftAssignment object (ps.js)

Office 2013 and later

Enables the creation of a draft assignment for a project.

Last modified: February 12, 2013

Applies to: Project Professional 2013 | Project Server 2013

PS.DraftAssignment

See the PS.Assignment object (ps.js) for inherited members that are not described in the following tables.

Methods

The DraftAssignment object has the following methods.

Method

Description

deleteObject

initNonPropertiesFromJson

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

initPropertiesFromJson

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

loadExpandoFields

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

refreshLoad

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

Properties

Endpoint URI structure

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

HTTP requests

This resource supports the following HTTP commands:

DELETE syntax

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

MERGE syntax

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

PUT syntax

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