PS.TimeSheetWorkCollection object (ps.js)

Represents a collection of actual work entries for a timesheet.

Applies to: Project Professional 2013 | Project Server 2013

PS.TimeSheetWorkCollection

Members

Methods

The TimeSheetWorkCollection object has the following methods.

Method

Description

add

Adds a new actual work value to a timesheet.

getById

getByStartDate

itemAt

remove

Properties

The TimeSheetWorkCollection object has the following properties.

Property

Description

childItemType

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

item

REST resource endpoint

Endpoint URI structure

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

HTTP requests

This resource supports the following HTTP commands:

GET syntax

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

POST syntax

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

See also

Reference

Microsoft.ProjectServer.Client.TimeSheetWorkCollection