PS.TimeSheetLine object (ps.js)

Represents a line in a timesheet.

Applies to: Project Professional 2013 | Project Server 2013

PS.TimeSheetLine

Members

Methods

The TimeSheetLine 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.

submit

Properties

The TimeSheetLine object has the following properties.

Property

Description

assignment

comment

id

lineClass

projectName

status

taskName

timeSheet

totalWork

totalWorkMilliseconds

validationType

work

REST resource endpoint

Endpoint URI structure

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

HTTP requests

This resource supports the following HTTP commands:

DELETE syntax

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

MERGE syntax

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

PUT syntax

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

See also

Reference

Microsoft.ProjectServer.Client.TimeSheetLine