Public/Get-GCCoachingAppointment.ps1
|
<# .SYNOPSIS Retrieves a single coaching appointment by ID. .DESCRIPTION Returns the details of a specific coaching appointment from Genesys Cloud. Uses the GET /api/v2/coaching/appointments/{appointmentId} endpoint. .PARAMETER AppointmentId The unique identifier of the coaching appointment to retrieve. .EXAMPLE Get-GCCoachingAppointment -AppointmentId 'a1b2c3d4-e5f6-7890-abcd-ef1234567890' .NOTES Genesys Cloud API: GET /api/v2/coaching/appointments/{appointmentId} #> function Get-GCCoachingAppointment { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [string]$AppointmentId ) $endpoint = "coaching/appointments/$AppointmentId" return Invoke-GCApiRequest -Endpoint $endpoint -Method GET } |