Public/New/New-HaloTicket.ps1
Function New-HaloTicket { <# .SYNOPSIS Creates a ticket via the Halo API. .DESCRIPTION Function to send a ticket creation request to the Halo API .OUTPUTS Outputs an object containing the response from the web request. #> [CmdletBinding()] Param ( [Parameter( Mandatory = $True )] [PSCustomObject]$Ticket ) Invoke-HaloUpdate -Object $Ticket -Endpoint "Tickets" } |