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