PS.DraftTaskLinkCollection.add Method (ps.js)

Adds a new task link to the collection of draft task links.

Applies to: Project Professional 2013 | Project Server 2013

PS.DraftTaskLinkCollection.add(parameters)

Parameters

parameters
Type: PS.TaskLinkCreationInformation
An object that contains information that is used to create the task link.

Return value

PS.DraftTaskLink

REST resource endpoint

Endpoint URI structure

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

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

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

Resource parameters

  • parameters