Public/Get-GCArchitectSchedule.ps1
|
<# .SYNOPSIS Retrieves a specific architect schedule by ID from Genesys Cloud. .DESCRIPTION Queries the Genesys Cloud API to retrieve a single architect schedule by its unique identifier. API Endpoint: GET /api/v2/architect/schedules/{scheduleId} .PARAMETER ScheduleId The unique identifier of the schedule to retrieve. .EXAMPLE Get-GCArchitectSchedule -ScheduleId 'aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee' Retrieves the schedule with the specified ID. .NOTES Genesys Cloud API: GET /api/v2/architect/schedules/{scheduleId} #> function Get-GCArchitectSchedule { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [string]$ScheduleId ) $endpoint = "architect/schedules/$ScheduleId" return Invoke-GCApiRequest -Endpoint $endpoint -Method GET } |