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

TimeSheetWork class

Nadin Merali|Last Updated: 5/6/2017

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.NETJSOMRESTTypeDescription
ActualWork✓ʷ✓ʷ✓ʷStringGets or sets the amount of actual work that is on a timesheet.
ActualWorkMilliseconds✓ʷ✓ʷIntegerGets or sets the time interval, expressed in milliseconds, for the amount of actual work that is on a timesheet.
ActualWorkTimeSpan✓ʷ✓ʷTimeSpanGets or sets the time interval for the amount of actual work that is on a timesheet.
Comment✓ʷ✓ʷ✓ʷStringGets or sets the timesheet work comment.
End✓ʷ✓ʷ✓ʷDateTimeGets or sets the end time of the actual work that is on a timesheet.
IdGuidGets the GUID of the timesheet line that is associated with the work.
NonBillableOvertimeWork✓ʷ✓ʷ✓ʷStringGets or sets the amount of nonbillable overtime work that is on a timesheet.
NonBillableOvertimeWorkMilliseconds✓ʷ✓ʷIntegerGets or sets the time interval, expressed in milliseconds, for the amount of nonbillable overtime work that is on a timesheet.
NonBillableOvertimeWorkTimeSpan✓ʷ✓ʷTimeSpanGets or sets the time interval for the amount of nonbillable overtime work that is on a timesheet.
NonBillableWork✓ʷ✓ʷ✓ʷStringGets or sets the amount of nonbillable work that is on a timesheet.
NonBillableWorkMilliseconds✓ʷ✓ʷIntegerGets or sets the time interval, expressed in milliseconds, for the amount of nonbillable work that is on a timesheet.
NonBillableWorkTimeSpan✓ʷ✓ʷTimeSpanGets or sets the time interval for the amount of nonbillable work that is on a timesheet.
OvertimeWork✓ʷ✓ʷ✓ʷStringGets or sets the amount of overtime work that is on a timesheet.
OvertimeWorkMilliseconds✓ʷ✓ʷIntegerGets or sets the time interval, expressed in milliseconds, for the amount of overtime work that is on a timesheet.
OvertimeWorkTimeSpan✓ʷ✓ʷTimeSpanGets or sets the time interval for the amount of overtime work that is on a timesheet.
PlannedWork✓ʷ✓ʷ✓ʷStringGets or sets the amount of planned work that is on a timesheet.
PlannedWorkMilliseconds✓ʷ✓ʷIntegerGets 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✓ʷ✓ʷTimeSpanGets or sets the time interval for the amount of planned work that is on a timesheet.
Start✓ʷ✓ʷ✓ʷDateTimeGets or sets the start time of the actual work that is on a timesheet.

Methods

Name.NETJSOMRESTReturn TypeDescription
DeleteObject()voidDeletes 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

© 2018 Microsoft