Public/New/New-HaloAppointment.ps1

Function New-HaloAppointment {
    <#
    .SYNOPSIS
        Creates an appointment via the Halo API.
    .DESCRIPTION
        Function to send an appointment creation request to the Halo API
    .OUTPUTS
        Outputs an object containing the response from the web request.
    #>

    [CmdletBinding()]
    Param (
        [Parameter( Mandatory = $True )]
        [PSCustomObject]$Appointment
    )
    Invoke-HaloUpdate -Object $Appointment -Endpoint "Appointment"
}