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

TimeSheetWorkCreationInformation class

Nadin Merali|Last Updated: 5/6/2017

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

Syntax

CSOM

class TimeSheetWorkCreationInformation 

JSOM

PS.TimeSheetWorkCreationInformation

REST Interface

Supported.

PS.TimeSheetWorkCreationInformation

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

POST Example (not all fields may be required)

body = {
    'parameters': {
        'ActualWork':'value', 
        'Comment':'value', 
        'End':'value', 
        'NonBillableOvertimeWork':'value', 
        'NonBillableWork':'value', 
        'OvertimeWork':'value', 
        'PlannedWork':'value', 
        'Start':'value'     
    }

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name.NETJSOMRESTTypeDescription
ActualWork✓ʷ✓ʷ✓ʷStringGets or sets the amount of actual work that is on a timesheet.
Comment✓ʷ✓ʷ✓ʷStringGets or sets the timesheet work comment.
End✓ʷ✓ʷ✓ʷDateTimeGets or sets the end time of work that is on a timesheet.
NonBillableOvertimeWork✓ʷ✓ʷ✓ʷStringGets or sets the amount of non-billable overtime work that is on a timesheet.
NonBillableWork✓ʷ✓ʷ✓ʷStringGets or sets the amount of non-billable work that is on a timesheet.
OvertimeWork✓ʷ✓ʷ✓ʷStringGets or sets the amount of overtime work that is on a timesheet.
PlannedWork✓ʷ✓ʷ✓ʷStringGets or sets the amount of planned work that is on a timesheet.
Start✓ʷ✓ʷ✓ʷDateTimeGets or sets the start time of work that is on a timesheet.

See Also

TimeSheetWork
TimeSheetWorkCollection

© 2018 Microsoft