This function will create a new time entry.
New-CWMTimeEntry [-id <Int32>] -company <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>]
New-CWMTimeEntry [-id <Int32>] -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 named
Default value 0
Accept pipeline input false
Accept wildcard characters false
Required true
Position named
Default value
Accept pipeline input false
Accept wildcard characters false
Required true
Position named
Default value 0
Accept pipeline input false
Accept wildcard characters false
Required true
Position named
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value 0
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value 0
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value 0
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value 0
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value False
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value False
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value False
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value False
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value False
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value False
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value 0
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value 0
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
Default value
Accept pipeline input false
Accept wildcard characters false
Required false
Position named
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