Share via


PlanAssignmentCreationInformation class

Contains the properties that can be set when creating a PlanAssignment.

Syntax

CSOM

class PlanAssignmentCreationInformation 

JSOM

PS.PlanAssignmentCreationInformation

REST Interface

Supported.

PS.PlanAssignmentCreationInformation

http://contoso.sharepoint.com/sites/pwa/api/ProjectServer/Projects('{projectid}')/GetResourcePlanByUrl(start='{yyyy-MM-dd}',end='{yyyy-MM-dd}',scale='{timescale}')/Assignments/Add

POST Example (not all fields may be required)

body = {
	'parameters': {
		'BookingType':'value', 
		'Id':'value', 
		'Intervals':'value', 
		'ResourceId':'value'		
	}

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name .NET JSOM REST Type Description
BookingType ✓ʷ ✓ʷ ✓ʷ BookingType Gets or sets the booking type of the assignment.
Id ✓ʷ ✓ʷ ✓ʷ Guid Gets or sets the GUID for the plan assignment.
Intervals ✓ʷ ✓ʷ ✓ʷ PlanAssignmentIntervalCreationInformation Gets the collection of new assignment intervals.
ResourceId ✓ʷ ✓ʷ ✓ʷ Guid Gets or sets the GUID of the resource.

See Also

PlanAssignment
PlanAssignmentCollection
PlanAssignmentIntervalCollection