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

StatusAssignment class

Nadin Merali|Last Updated: 5/6/2017

inherits members from ClientObject

Provides an object that is an assignment in a status update.

Syntax

CSOM

class StatusAssignment 

JSOM

PS.StatusAssignment

REST Interface

Supported.

PS.StatusAssignment

http://contoso.sharepoint.com/sites/pwa/_api/ProjectServer/EnterpriseResources('{resourceid}')/Assignments('{assignmentid}')

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name.NETJSOMRESTTypeDescription
[]✓ʷDictionary<string, Object>Gets or sets an item in the status assignment.
ActualFinish✓ʷ✓ʷ✓ʷDateTimeGets or sets the date and time when an assignment was completed.
ActualOvertime✓ʷ✓ʷ✓ʷStringGets or sets the actual amount of overtime work already performed by resources that are assigned to tasks.
ActualOvertimeMilliseconds✓ʷ✓ʷIntegerGets or sets the time interval, expressed in milliseconds, for the actual amount of overtime work already performed by resources that are assigned to tasks.
ActualOvertimeTimeSpan✓ʷ✓ʷTimeSpanGets or sets the time interval for the actual amount of overtime work already performed by resources that are assigned to tasks.
ActualStart✓ʷ✓ʷ✓ʷDateTimeGets or sets the date and time that an assignment actually began, based on progress information that was entered.
ActualWork✓ʷ✓ʷ✓ʷStringGets or sets the amount of work that has already been performed by resources that are assigned to tasks.
ActualWorkMilliseconds✓ʷ✓ʷIntegerGets or sets the time interval, expressed in milliseconds, for the amount of work that has already been performed by resources that are assigned to tasks.
ActualWorkTimeSpan✓ʷ✓ʷTimeSpanGets or sets the time interval for the amount of work that has already been performed by resources that are assigned to tasks.
ApprovalStatusStatusApprovalTypeGets resource manager approval state of the assignments for which the project manager should be notified of edits.
Comments✓ʷ✓ʷ✓ʷStringGets or sets the comments for the status assignment.
CustomFieldsCustomFieldCollectionGets the collection of custom fields that have values set for the status assignment.
FieldValuesDictionary<string, Object>Gets the collection of custom fields that have values set for the status assignment.
Finish✓ʷ✓ʷ✓ʷDateTimeGets or sets the date when an assignment is scheduled to be completed.
HistoryStatusAssignmentHistoryLineCollectionGets historical comments about the assignment.
IdGuidGets the GUID for the status assignment.
IsConfirmed✓ʷ✓ʷ✓ʷBooleanGets or sets whether the status assignment has been confirmed.
Item✓ʷDictionary<string, Object>Gets or sets an item in the status assignment.
ModifiedDateTimeGets or sets the date and time that the status assignment was last updated.
Name✓ʷ✓ʷ✓ʷStringGets or sets the name of the status assignment.
Overtime✓ʷ✓ʷ✓ʷStringGets or sets the amount of overtime work.
OvertimeMilliseconds✓ʷ✓ʷIntegerGets or sets the time interval, expressed in milliseconds, for the amount of overtime work.
OvertimeTimeSpan✓ʷ✓ʷTimeSpanGets or sets the time interval for the amount of overtime work.
PercentComplete✓ʷ✓ʷ✓ʷIntegerGets or sets the current status of a task, resource, or assignment, expressed as the percentage of work that has been completed.
ProjectPublishedProjectGets the project that contains the status assignment.
RegularWork✓ʷ✓ʷ✓ʷStringGets or sets the total amount of nonovertime work that is scheduled to be performed by resources.
RegularWorkMilliseconds✓ʷ✓ʷIntegerGets or sets the time interval, expressed in milliseconds, for the total amount of nonovertime work that is scheduled to be performed by resources.
RegularWorkTimeSpan✓ʷ✓ʷTimeSpanGets or sets the time interval for the total amount of nonovertime work that is scheduled to be performed by resources.
RemainingOvertime✓ʷ✓ʷ✓ʷStringGets or sets the amount of remaining scheduled overtime work.
RemainingOvertimeMilliseconds✓ʷ✓ʷIntegerGets or sets the time interval, expressed in milliseconds, for the amount of remaining scheduled overtime work.
RemainingOvertimeTimeSpan✓ʷ✓ʷTimeSpanGets or sets the time interval for the amount of remaining scheduled overtime work.
RemainingWork✓ʷ✓ʷ✓ʷStringGets or sets the time, such as person-hours or days, that are still required to complete a task or set of tasks.
RemainingWorkMilliseconds✓ʷ✓ʷIntegerGets or sets the time interval, expressed in milliseconds, for the time, such as person-hours or days, that are still required to complete a task or set of tasks.
RemainingWorkTimeSpan✓ʷ✓ʷTimeSpanGets or sets the time interval for the time, such as person-hours or days, that are still required to complete a task or set of tasks.
ResourceEnterpriseResourceGets the resource that is associated with the status assignment.
Start✓ʷ✓ʷ✓ʷDateTimeGets or sets the date when an assigned resource is scheduled to begin working on an assignment.
TaskStatusTaskGets the task that is associated with the status assignment.
Work✓ʷ✓ʷ✓ʷStringGets or sets the total time scheduled on a task for all assigned resources.
WorkMilliseconds✓ʷ✓ʷIntegerGets or sets the time interval, expressed in milliseconds, for the total time scheduled on a task for all assigned resources.
WorkTimeSpan✓ʷ✓ʷTimeSpanGets or sets the time interval for the total time scheduled on a task for all assigned resources.

Methods

Name.NETJSOMRESTReturn TypeDescription
DeleteObject()voidDeletes the status assignment object.
SetCustomFieldValue(String fieldName, Object value)voidSets a custom field on the status assignment.
SubmitStatusUpdates(String comment)voidSubmits all updates to this assignment for approval.


Method Details

DeleteObject()

Deletes the status assignment object.

Syntax
void DeleteObject()
Parameters

None

Return Value

void

SetCustomFieldValue(String fieldName, Object value)

Sets a custom field on the status assignment.

Syntax
void SetCustomFieldValue(String fieldName, Object value)
Parameters
NameTypeDescription
fieldNameStringThe InternalName of the custom field to update.
valueObjectNew value of the custom field.
Return Value

void

SubmitStatusUpdates(String comment)

Submits all updates to this assignment for approval.

Syntax
void SubmitStatusUpdates(String comment)
Parameters
NameTypeDescription
commentStringA comment about the submission.
Return Value

void

See Also

StatusAssignmentCollection
StatusAssignmentCreationInformation

© 2018 Microsoft