PS.DraftAssignment object (ps.js)

Enables the creation of a draft assignment for a project.

Applies to: Project Professional 2013 | Project Server 2013

PS.DraftAssignment

Members

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

The DraftAssignment object has the following properties.

Property

Description

actualCost

actualFinish

actualOvertimeWork

actualOvertimeWorkMilliseconds

actualStart

actualWork

actualWorkMilliseconds

budgetedCost

budgetedWork

budgetedWorkMilliseconds

cost

defaultBookingType

delay

delayMilliseconds

fieldValues

finish

isLockedByManager

isWorkResource

item

notes

overtimeWork

overtimeWorkMilliseconds

owner

parent

percentWorkComplete

regularWork

regularWorkMilliseconds

remainingOvertimeWork

remainingOvertimeWorkMilliseconds

remainingWork

remainingWorkMilliseconds

resource

resourceCapacity

task

work

workMilliseconds

REST resource endpoint

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')

See also

Reference

Microsoft.ProjectServer.Client.DraftAssignment