AssignmentCreationInformation class

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 .NET JSOM REST Type Description
Finish ✓ʷ ✓ʷ ✓ʷ DateTime Gets or sets the assignment finish date and time.
Id ✓ʷ ✓ʷ ✓ʷ Guid Gets or sets the GUID of the assignment.
Notes ✓ʷ ✓ʷ ✓ʷ String Gets or sets the notes for the assignment.
ResourceId ✓ʷ ✓ʷ ✓ʷ Guid Gets or sets the GUID of the resource for the assignment.
Start ✓ʷ ✓ʷ ✓ʷ DateTime Gets or sets the assignment start date and time.
TaskId ✓ʷ ✓ʷ ✓ʷ Guid Gets or sets the GUID of the task for the assignment.

See Also

DraftAssignment
DraftAssignmentCollection