PS.DraftProject object (ps.js)

Office 2013 and later

Represents the draft version of a project, which is a published project that is checked out.

Last modified: February 12, 2013

Applies to: Project Professional 2013 | Project Server 2013

In this article
Remarks
Members
REST resource endpoint

PS.DraftProject

To check out a published project for editing, use the PublishedProject.CheckOut method.

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

Methods

The DraftProject object has the following methods.

Method

Description

checkIn

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.

publish

refreshLoad

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

update

validate

Properties

Endpoint URI structure

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

HTTP requests

This resource supports the following HTTP commands:

MERGE syntax

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

PUT syntax

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