external help file | Module Name | online version | schema |
---|---|---|---|
ConnectWiseManageAPI-help.xml |
ConnectWiseManageAPI |
2.0.0 |
This function will create a new ticket.
New-CWMProjectTeamMember -parentId <Int32> [[-id] <Int32>] [[-hours] <Decimal>] [-member] <Hashtable>
[-projectRole] <Hashtable> [[-workRole] <Hashtable>] [[-startDate] <String>] [[-endDate] <String>]
[[-_info] <Hashtable>] [-WhatIf] [-Confirm] [<CommonParameters>]
{{ Fill in the Description }}
$Ticket = @{
'identifier' = $Product.offerName 'description' = $Product.offerName 'subcategory' = @{id = 152} 'type' = @{id = 47} 'customerDescription' = $Product.offerName 'cost' = $Product.unitPrice 'price' = $Price 'manufacturerPartNumber' = $Product.offerName 'manufacturer' = $Manufacturer 'productClass' = 'Agreement' 'taxableFlag' = $true } New-CWTicket @Ticket
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill _info Description }}
Type: Hashtable
Parameter Sets: (All)
Aliases:
Required: False
Position: 8
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill endDate Description }}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill hours Description }}
Type: Decimal
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill id Description }}
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill member Description }}
Type: Hashtable
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill projectRole Description }}
Type: Hashtable
Parameter Sets: (All)
Aliases:
Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill startDate Description }}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill workRole Description }}
Type: Hashtable
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill parentId Description }}
Type: Int32
Parameter Sets: (All)
Aliases: projectId
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Chris Taylor Date: 8/22/2018
https://developer.connectwise.com/products/manage/rest?a=Project&e=ProjectsTeamMembers&o=CREATE