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

AssignmentCreationInformation class

Nadin Merali|Last Updated: 5/6/2017

Contains the properties that can be set when creating an Assignment.

Syntax

CSOM

class AssignmentCreationInformation 

JSOM

PS.AssignmentCreationInformation

REST Interface

Supported.

PS.AssignmentCreationInformation

http://contoso.sharepoint.com/sites/pwa/_api/ProjectServer/Draft/Assignments/Add

POST Example (not all fields may be required)

body = {
    'parameters': {
        'Finish':'value', 
        'Id':'value', 
        'Notes':'value', 
        'ResourceId':'value', 
        'Start':'value', 
        'TaskId':'value'        
    }

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name.NETJSOMRESTTypeDescription
Finish✓ʷ✓ʷ✓ʷDateTimeGets or sets the assignment finish date and time.
Id✓ʷ✓ʷ✓ʷGuidGets or sets the GUID of the assignment.
Notes✓ʷ✓ʷ✓ʷStringGets or sets the notes for the assignment.
ResourceId✓ʷ✓ʷ✓ʷGuidGets or sets the GUID of the resource for the assignment.
Start✓ʷ✓ʷ✓ʷDateTimeGets or sets the assignment start date and time.
TaskId✓ʷ✓ʷ✓ʷGuidGets or sets the GUID of the task for the assignment.

See Also

DraftAssignment
DraftAssignmentCollection

© 2018 Microsoft