Assignment class
inherits members from ClientObject
Contains the common properties for DraftAssignments and PublishedAssignments.
Syntax
CSOM
class Assignment
JSOM
PS.Assignment
REST Interface
Supported. Please see REST Interface in PublishedAssignment.
PS.Assignment
Members
✓ - Read Support ✓ʷ - Write Support
Properties
Name | .NET | JSOM | REST | Type | Description |
---|---|---|---|---|---|
ActualCostWorkPerformed | ✓ | ✓ | ✓ | Double | Gets the actual cost of work performed (ACWP) for the assignment to date. |
ActualOvertimeCost | ✓ | ✓ | ✓ | Double | Gets the actual overtime cost for the assignment. |
BaselineCost | ✓ | ✓ | ✓ | Double | Gets the total planned costs of the assignment. |
BaselineCostPerUse | ✓ | ✓ | ✓ | Double | Gets the cost per use of a resource on an assignment, at the time of the project baseline. |
BaselineFinish | ✓ | ✓ | ✓ | DateTime | Gets the planned completion date for an assignment, at the time of the project baseline. |
BaselineStart | ✓ | ✓ | ✓ | DateTime | Gets the planned start date for an assignment, at the time of the project baseline. |
BaselineWork | ✓ | ✓ | ✓ | String | Gets total planned person-hours scheduled for an assignment, at the time of the project baseline. |
BaselineWorkMilliseconds | ✓ | ✓ | Integer | Gets the total time in milliseconds, of planned person-hours scheduled for an assignment, at the time of the project baseline. | |
BaselineWorkTimeSpan | ✓ | ✓ | TimeSpan | Gets the total time interval of planned person-hours scheduled for an assignment, at the time of the project baseline. | |
BudgetedCostWorkPerformed | ✓ | ✓ | ✓ | Double | Gets the budgeted cost of work performed (BCWP). |
BudgetedCostWorkScheduled | ✓ | ✓ | ✓ | Double | Gets the budgeted cost of work scheduled (BCWS) for the assignment. |
CostVariance | ✓ | ✓ | ✓ | Double | Gets the cost variance (CV), which is the difference between the baseline cost and the total cost of the assignment. |
CostVarianceAtCompletion | ✓ | ✓ | ✓ | Double | Gets the cost variance at completion (VAC) for the assignment. |
Created | ✓ | ✓ | ✓ | DateTime | Gets the date when the assignment was created. |
CurrentCostVariance | ✓ | ✓ | ✓ | Double | Gets the current cost variance (CV). |
CustomFields | ✓ | ✓ | ✓ | CustomFieldCollection | Gets the collection of custom fields for the assignment. |
Delay | ✓ | ✓ | ✓ | String | Specifies the amount of time (formatted) that the resource is to wait after the task start date, before starting work on the task. |
DelayMilliseconds | ✓ | ✓ | Integer | Specifies the amount of time in milliseconds, that the resource is to wait after the task start date, before starting work on the task. | |
DelayTimeSpan | ✓ | ✓ | TimeSpan | Specifies the time interval that the resource is to wait after the task start date, before starting work on the task. | |
Finish | ✓ | ✓ | ✓ | DateTime | Specifies the date and time that this resource is scheduled to finish this task. |
FinishVariance | ✓ | ✓ | ✓ | String | Gets the variance of the finish date of the assignment. |
FinishVarianceMilliseconds | ✓ | ✓ | Integer | Gets the time interval, expressed in milliseconds, for the variance of the finish date of the assignment. | |
FinishVarianceTimeSpan | ✓ | ✓ | TimeSpan | Gets the time interval for the variance of the finish date of the assignment. | |
Id | ✓ | ✓ | ✓ | Guid | Gets the GUID of the assignment. |
IsConfirmed | ✓ | ✓ | ✓ | Boolean | Gets a value that shows whether the resource has accepted the assignment. |
IsOverAllocated | ✓ | ✓ | ✓ | Boolean | Gets a value that indicates whether the resource is overallocated during the time of the assignment. |
IsPublished | ✓ | ✓ | ✓ | Boolean | Gets a value that indicates whether the assignment is published. |
IsResponsePending | ✓ | ✓ | ✓ | Boolean | Gets a value that shows whether the assignment update has been sent to the resource. |
IsUpdateNeeded | ✓ | ✓ | ✓ | Boolean | Gets a value that indicates whether an assignment update should be sent to the resource. |
LevelingDelay | ✓ | ✓ | ✓ | String | Gets the amount of time that resource leveling can delay the assignment from its early start date. |
LevelingDelayMilliseconds | ✓ | ✓ | Integer | Gets the time interval, expressed in milliseconds, for the amount of time that resource leveling can delay the assignment from its early start date. | |
LevelingDelayTimeSpan | ✓ | ✓ | TimeSpan | Gets the time interval for the amount of time that resource leveling can delay the assignment from its early start date. | |
Modified | ✓ | ✓ | ✓ | DateTime | Gets the date when the assignment was modified. |
Notes | ✓ | ✓ | ✓ | String | Specifies the notes that are entered in the assignment details. |
OvertimeCost | ✓ | ✓ | ✓ | Double | Gets the total overtime cost of the assignment. |
RemainingCost | ✓ | ✓ | ✓ | Double | Gets the total remaining cost of the assignment, as scheduled. |
RemainingOvertimeCost | ✓ | ✓ | ✓ | Double | Gets the scheduled remaining overtime cost of the assignment. |
Resume | ✓ | ✓ | ✓ | DateTime | Gets the date and time when a resource resumes work on the assignment. |
ScheduleCostVariance | ✓ | ✓ | ✓ | Double | Gets the schedule cost variance (CV), which is the difference between the baseline cost and the scheduled cost of the assignment. |
Start | ✓ | ✓ | ✓ | DateTime | Gets the date and time that a resource is scheduled to start the assignment. |
StartVariance | ✓ | ✓ | ✓ | String | Gets the variance of the assignment start date. |
StartVarianceMilliseconds | ✓ | ✓ | Integer | Gets the time interval, expressed in milliseconds, for the variance of the assignment start date. | |
StartVarianceTimeSpan | ✓ | ✓ | TimeSpan | Gets the time interval for the variance of the assignment start date. | |
Stop | ✓ | ✓ | ✓ | DateTime | Gets the date and time when a resource stops work on the assignment. |
WorkContourType | ✓ | ✓ | ✓ | WorkContourType | Indicates how to distribute work for an assignment across the duration of the assignment. |
WorkVariance | ✓ | ✓ | ✓ | String | Gets the difference between baseline work and currently scheduled work on the assignment. |
WorkVarianceMilliseconds | ✓ | ✓ | Integer | Gets the time interval, expressed in milliseconds, for the difference between baseline work and currently scheduled work on the assignment. | |
WorkVarianceTimeSpan | ✓ | ✓ | TimeSpan | Gets the time interval for the difference between baseline work and currently scheduled work on the assignment. |