This function will create a new time entry.
New-CWMTimeEntry [[-id] <Int32>] [-company] <Object> [-chargeToId] <Int32> [-chargeToType] <Object> [[-member] <Object>] [[-locationId] <Int32>] [[-businessUnitId] <Int32>] [[-workType] <Object>] [[-workRole] <Object>] [[-agreement] <Object>] [[-timeStart] <String>] [[-timeEnd] <String>] [[-hoursDeduct] <Double>] [[-actualHours] <Double>] [[-billableOption] <Object>] [[-notes] <String>] [[-internalNotes] <String>] [[-addToDetailDescriptionFlag] <Boolean>] [[-addToInternalAnalysisFlag]
<Boolean>] [[-addToResolutionFlag] <Boolean>] [[-emailResourceFlag] <Boolean>] [[-emailContactFlag] <Boolean>] [[-emailCcFlag] <Boolean>] [[-emailCc] <String>] [[-hoursBilled] <Double>] [[-enteredBy] <String>] [[-dateEntered] <String>] [[-invoice] <Object>] [[-mobileGuid] <Guid>] [[-hourlyRate] <Double>] [[-timeSheet] <Object>] [[-status] <Object>] [[-_info] <Object>] [[-customFields] <Object>] [<CommonParameters>]
Required false
Position 1
Default value 0
Accept pipeline input false
Accept wildcard characters false
Required true
Position 2
Default value
Accept pipeline input false
Accept wildcard characters false
Required true
Position 3
Default value 0
Accept pipeline input false
Accept wildcard characters false
Required true
Position 4
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position 5
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position 6
Default value 0
Accept pipeline input false
Accept wildcard characters false
Required false
Position 7
Default value 0
Accept pipeline input false
Accept wildcard characters false
Required false
Position 8
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position 9
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position 10
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position 11
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position 12
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position 13
Default value 0
Accept pipeline input false
Accept wildcard characters false
Required false
Position 14
Default value 0
Accept pipeline input false
Accept wildcard characters false
Required false
Position 15
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position 16
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position 17
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position 18
Default value False
Accept pipeline input false
Accept wildcard characters false
Required false
Position 19
Default value False
Accept pipeline input false
Accept wildcard characters false
Required false
Position 20
Default value False
Accept pipeline input false
Accept wildcard characters false
Required false
Position 21
Default value False
Accept pipeline input false
Accept wildcard characters false
Required false
Position 22
Default value False
Accept pipeline input false
Accept wildcard characters false
Required false
Position 23
Default value False
Accept pipeline input false
Accept wildcard characters false
Required false
Position 24
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position 25
Default value 0
Accept pipeline input false
Accept wildcard characters false
Required false
Position 26
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position 27
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position 28
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position 29
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position 30
Default value 0
Accept pipeline input false
Accept wildcard characters false
Required false
Position 31
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position 32
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position 33
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position 34
Default value
Accept pipeline input false
Accept wildcard characters false
PS C:\>New-CWMTimeEntry
Create a new <SOMETHING>.
Author: Chris Taylor
Date: 1/7/2019
https://developer.connectwise.com/manage/rest?a=Time&e=TimeEntries&o=CREATE