Share via


PS.TimeSheetWork.comment property (ps.js)

Gets or sets the timesheet work comment.

Applies to: Project Professional 2013 | Project Server 2013

var value = PS.TimeSheetWork.get_comment()
PS.TimeSheetWork.set_comment(value)

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/ProjectServer/TimeSheetPeriods('periodid')/TimeSheet/Lines('lineid')/Work('yyyy-MM-dd')/comment

HTTP requests

This resource supports the following HTTP commands:

  • GET

GET syntax

GET http://<sitecollection>/<site>/_api/ProjectServer/TimeSheetPeriods('periodid')/TimeSheet/Lines('lineid')/Work('yyyy-MM-dd')/comment