TimeSheetWorkCreationInformation class

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

Syntax

CSOM

class TimeSheetWorkCreationInformation 

JSOM

PS.TimeSheetWorkCreationInformation

REST Interface

Supported.

PS.TimeSheetWorkCreationInformation

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

POST Example (not all fields may be required)

body = {
	'parameters': {
		'ActualWork':'value', 
		'Comment':'value', 
		'End':'value', 
		'NonBillableOvertimeWork':'value', 
		'NonBillableWork':'value', 
		'OvertimeWork':'value', 
		'PlannedWork':'value', 
		'Start':'value'		
	}

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.
Comment ✓ʷ ✓ʷ ✓ʷ String Gets or sets the timesheet work comment.
End ✓ʷ ✓ʷ ✓ʷ DateTime Gets or sets the end time of work that is on a timesheet.
NonBillableOvertimeWork ✓ʷ ✓ʷ ✓ʷ String Gets or sets the amount of non-billable overtime work that is on a timesheet.
NonBillableWork ✓ʷ ✓ʷ ✓ʷ String Gets or sets the amount of non-billable work that is on a timesheet.
OvertimeWork ✓ʷ ✓ʷ ✓ʷ String Gets or sets 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.
Start ✓ʷ ✓ʷ ✓ʷ DateTime Gets or sets the start time of work that is on a timesheet.

See Also

TimeSheetWork
TimeSheetWorkCollection