Table of contents
API
TOC
Collapse the table of content
Expand the table of content

TimeSheetLineCreationInformation class

Nadin Merali|Last Updated: 5/6/2017

Contains the properties that can be set when creating a TimeSheetLine.

Syntax

CSOM

class TimeSheetLineCreationInformation 

JSOM

PS.TimeSheetLineCreationInformation

REST Interface

Supported.

PS.TimeSheetLineCreationInformation

http://contoso.sharepoint.com/sites/pwa/_api/ProjectServer/TimeSheetPeriods('{periodid}')/TimeSheet/Lines/Add

POST Example (not all fields may be required)

body = {
    'parameters': {
        'AssignmentId':'value', 
        'Comment':'value', 
        'Id':'value', 
        'LineClass':'value', 
        'ProjectId':'value', 
        'TaskName':'value'      
    }

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name.NETJSOMRESTTypeDescription
AssignmentId✓ʷ✓ʷ✓ʷGuidGets or sets the GUID of the assignment that is associated with the timesheet line.
Comment✓ʷ✓ʷ✓ʷStringGets or sets the comment for the timesheet line.
Id✓ʷ✓ʷ✓ʷGuidGets or sets the GUID for the timesheet line.
LineClass✓ʷ✓ʷ✓ʷTimeSheetLineClassGets or sets the line class type of the timesheet line.
ProjectId✓ʷ✓ʷ✓ʷGuidGets or sets the GUID of the project that is associated with the timesheet line.
TaskName✓ʷ✓ʷ✓ʷStringGets or sets the time sheet line task name.

See Also

TimeSheetLine
TimeSheetLineCollection

© 2018 Microsoft