Public/Service/TicketConfigurations/New-CWMTicketConfiguration.ps1
function New-CWMTicketConfiguration { [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSShouldProcess', '', Justification = 'Used by sub-function')] [CmdletBinding(SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory=$true)] [Alias('ticketId')] [int]$parentId, [string]$deviceIdentifier ) $Endpoint = "/service/tickets/$($parentId)/configurations" Invoke-CWMNewMaster -Arguments $PsBoundParameters -Endpoint $Endpoint } |