PS.DraftTask object (ps.js)

Represents a task in a checked-out project.

Applies to: Project Professional 2013 | Project Server 2013

PS.DraftTask

Members

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

Methods

The DraftTask 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 DraftTask object has the following properties.

Property

Description

actualCost

actualCostWorkPerformed

actualFinish

actualOvertimeCost

actualOvertimeWork

actualOvertimeWorkMilliseconds

actualStart

actualWork

actualWorkMilliseconds

assignments

budgetedCostWorkPerformed

budgetedCostWorkScheduled

budgetWork

budgetWorkMilliseconds

calendar

completion

constraintStartEnd

constraintType

contact

cost

deadline

duration

durationMilliseconds

fieldValues

finish

fixedCost

fixedCostAccrual

isActive

isEffortDriven

isLockedByManager

isManual

isMarked

isMilestone

item

levelingAdjustsAssignments

levelingCanSplit

levelingDelay

levelingDelayMilliseconds

name

outlineLevel

parent

percentComplete

percentPhysicalWorkComplete

predecessors

priority

remainingDuration

remainingDurationMilliseconds

start

successors

taskType

usePercentPhysicalWorkComplete

work

workMilliseconds

REST resource endpoint

Endpoint URI structure

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

HTTP requests

This resource supports the following HTTP commands:

DELETE syntax

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

MERGE syntax

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

PUT syntax

PUT http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/Draft/Tasks('taskid')

See also

Reference

Microsoft.ProjectServer.Client.DraftTask