Public/Set/Set-HaloTicket.ps1

Function Set-HaloTicket {
    <#
    .SYNOPSIS
        Updates a ticket via the Halo API.
    .DESCRIPTION
        Function to send a ticket update 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" -Update
}