TimeSheetWork class

inherits members from ClientObject

Represents the different types of work on a timesheet.

Syntax

CSOM

class TimeSheetWork 

JSOM

PS.TimeSheetWork

REST Interface

Supported.

PS.TimeSheetWork

http://contoso.sharepoint.com/sites/pwa/_api/ProjectServer/TimeSheetPeriods('{periodid}')/TimeSheet/Lines('{lineid}')/Work('{yyyy-MM-dd}')

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name .NET JSOM REST Type Description
ActualWork ✓ʷ ✓ʷ ✓ʷ String Gets or sets the amount of actual work that is on a timesheet.
ActualWorkMilliseconds ✓ʷ ✓ʷ Integer Gets or sets the time interval, expressed in milliseconds, for the amount of actual work that is on a timesheet.
ActualWorkTimeSpan ✓ʷ ✓ʷ TimeSpan Gets or sets the time interval for the amount of actual work that is on a timesheet.
Comment ✓ʷ ✓ʷ ✓ʷ String Gets or sets the timesheet work comment.
End ✓ʷ ✓ʷ ✓ʷ DateTime Gets or sets the end time of the actual work that is on a timesheet.
Id Guid Gets the GUID of the timesheet line that is associated with the work.
NonBillableOvertimeWork ✓ʷ ✓ʷ ✓ʷ String Gets or sets the amount of nonbillable overtime work that is on a timesheet.
NonBillableOvertimeWorkMilliseconds ✓ʷ ✓ʷ Integer Gets or sets the time interval, expressed in milliseconds, for the amount of nonbillable overtime work that is on a timesheet.
NonBillableOvertimeWorkTimeSpan ✓ʷ ✓ʷ TimeSpan Gets or sets the time interval for the amount of nonbillable overtime work that is on a timesheet.
NonBillableWork ✓ʷ ✓ʷ ✓ʷ String Gets or sets the amount of nonbillable work that is on a timesheet.
NonBillableWorkMilliseconds ✓ʷ ✓ʷ Integer Gets or sets the time interval, expressed in milliseconds, for the amount of nonbillable work that is on a timesheet.
NonBillableWorkTimeSpan ✓ʷ ✓ʷ TimeSpan Gets or sets the time interval for the amount of nonbillable work that is on a timesheet.
OvertimeWork ✓ʷ ✓ʷ ✓ʷ String Gets or sets the amount of overtime work that is on a timesheet.
OvertimeWorkMilliseconds ✓ʷ ✓ʷ Integer Gets or sets the time interval, expressed in milliseconds, for the amount of overtime work that is on a timesheet.
OvertimeWorkTimeSpan ✓ʷ ✓ʷ TimeSpan Gets or sets the time interval for the amount of overtime work that is on a timesheet.
PlannedWork ✓ʷ ✓ʷ ✓ʷ String Gets or sets the amount of planned work that is on a timesheet.
PlannedWorkMilliseconds ✓ʷ ✓ʷ Integer Gets or sets the time interval, expressed in milliseconds, for the time interval, expressed in milliseconds, for the amount of overtime work that is on a timesheet.
PlannedWorkTimeSpan ✓ʷ ✓ʷ TimeSpan Gets or sets the time interval for the amount of planned work that is on a timesheet.
Start ✓ʷ ✓ʷ ✓ʷ DateTime Gets or sets the start time of the actual work that is on a timesheet.

Methods

Name .NET JSOM REST Return Type Description
DeleteObject() void Deletes the time sheet work object.


Method Details

DeleteObject()

Deletes the time sheet work object.

Syntax
void DeleteObject()
Parameters

None

Return Value

void

See Also

TimeSheetWorkCollection
TimeSheetWorkCreationInformation