PS.TimeSheetWorkCollection.add Method (ps.js)
Adds a new actual work value to a timesheet.
Applies to: Project Professional 2013 | Project Server 2013
PS.TimeSheetWorkCollection.add(parameters)
Parameters
parameters
Type: PS.TimeSheetWorkCreationInformation
An object that contains information that is used to create the actual work value.
Return value
PS.TimeSheetWork
REST resource endpoint
Endpoint URI structure
http://<sitecollection>/<site>/_api/ProjectServer/TimeSheetPeriods('periodid')/TimeSheet/Lines('lineid')/Work/add(parameters)
HTTP requests
This resource supports the following HTTP commands:
- POST
POST syntax
POST http://<sitecollection>/<site>/_api/ProjectServer/TimeSheetPeriods('periodid')/TimeSheet/Lines('lineid')/Work/add(parameters)
Resource parameters
- parameters