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

TimeSheetPeriod class

Nadin Merali|Last Updated: 5/6/2017

inherits members from ClientObject

Represents a defined period of time on a timesheet.

Syntax

CSOM

class TimeSheetPeriod 

JSOM

PS.TimeSheetPeriod

REST Interface

Supported.

PS.TimeSheetPeriod

http://contoso.sharepoint.com/sites/pwa/_api/ProjectServer/TimeSheetPeriods('{periodid}')

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name.NETJSOMRESTTypeDescription
EndDateTimeGets the end date of a timesheet period.
IdGuidGets the GUID of the timesheet period.
NameStringGets the name of the timesheet period.
StartDateTimeGets the start date of the timesheet period.
TimeSheetTimeSheetGets the timesheet that is associated with the timesheet period.

Methods

Name.NETJSOMRESTReturn TypeDescription
CreateTimeSheet()TimeSheetCreates a new TimeSheet object.


Method Details

CreateTimeSheet()

Creates a new TimeSheet object.

Syntax
TimeSheet CreateTimeSheet()
Parameters

None

Return Value

TimeSheet

See Also

TimeSheet
TimeSheetPeriodCollection

© 2018 Microsoft