PS.TimeSheet object (ps.js)

Represents a timesheet.

Applies to: Project Professional 2013 | Project Server 2013

PS.TimeSheet

Members

Methods

The TimeSheet object has the following methods.

Method

Description

deleteObject

initPropertiesFromJson

This member is reserved for internal use and is not intended to be used directly from your code.

recall

submit

update

Properties

The TimeSheet object has the following properties.

Property

Description

comments

creator

entryMode

id

isControlledByOwner

isProcessed

lines

manager

name

period

status

totalActualWork

totalActualWorkMilliseconds

totalNonBillableOvertimeWork

totalNonBillableOvertimeWorkMilliseconds

totalNonBillableWork

totalNonBillableWorkMilliseconds

totalOvertimeWork

totalOvertimeWorkMilliseconds

totalWork

totalWorkMilliseconds

weekStartsOn

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/ProjectServer/TimeSheetPeriods('periodid')/TimeSheet

HTTP requests

This resource supports the following HTTP commands:

DELETE syntax

DELETE http://<sitecollection>/<site>/_api/ProjectServer/TimeSheetPeriods('periodid')/TimeSheet

MERGE syntax

MERGE http://<sitecollection>/<site>/_api/ProjectServer/TimeSheetPeriods('periodid')/TimeSheet

PUT syntax

PUT http://<sitecollection>/<site>/_api/ProjectServer/TimeSheetPeriods('periodid')/TimeSheet

See also

Reference

Microsoft.ProjectServer.Client.TimeSheet