Table of contents
API
TOC
Collapse the table of content
Expand the table of content

TaskCreationInformation class

Nadin Merali|Last Updated: 5/6/2017

Provides property settings and methods that are used to create a task.

Syntax

CSOM

class TaskCreationInformation 

JSOM

PS.TaskCreationInformation

REST Interface

Supported.

PS.TaskCreationInformation

http://contoso.sharepoint.com/sites/pwa/_api/ProjectServer/Projects('{projectId}')/Draft/Tasks/Add

POST Example (not all fields may be required)

body = {
    'parameters': {
        'AddAfterId':'value', 
        'Duration':'value', 
        'Finish':'value', 
        'Id':'value', 
        'IsManual':'value', 
        'Name':'value', 
        'Notes':'value', 
        'ParentId':'value', 
        'Start':'value', 
        'StatusManager':'value'     
    }

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name.NETJSOMRESTTypeDescription
AddAfterId✓ʷ✓ʷ✓ʷGuidGets or sets the GUID value of the task that specifies the insertion point.
Duration✓ʷ✓ʷ✓ʷStringGets or sets the task duration.
Finish✓ʷ✓ʷ✓ʷDateTimeGets or sets the task finish date.
Id✓ʷ✓ʷ✓ʷGuidGets or sets the GUID of the task.
IsManual✓ʷ✓ʷ✓ʷBooleanGets or sets a value that indicates whether the task is manually scheduled.
Name✓ʷ✓ʷ✓ʷStringGets or sets the task name.
Notes✓ʷ✓ʷ✓ʷStringGets or sets notes about the task.
ParentId✓ʷ✓ʷ✓ʷGuidGets or sets the GUID of the parent task in a hierarchical task list.
Start✓ʷ✓ʷ✓ʷDateTimeGets or sets the task start date.
StatusManager✓ʷ✓ʷ✓ʷSPUserGets or sets the status manager of the task.

See Also

DraftTask
DraftTaskCollection
SPUser

© 2018 Microsoft