Public/Get-GCRoutingQueue.ps1
|
<# .SYNOPSIS Retrieves a single routing queue from Genesys Cloud by queue ID. .DESCRIPTION Queries the Genesys Cloud API to retrieve detailed information about a specific routing queue. API Endpoint: GET /api/v2/routing/queues/{queueId} .PARAMETER QueueId The unique identifier of the routing queue to retrieve. .EXAMPLE Get-GCRoutingQueue -QueueId '12345678-1234-1234-1234-123456789012' Retrieves the routing queue with the specified ID. .NOTES Genesys Cloud API: GET /api/v2/routing/queues/{queueId} #> function Get-GCRoutingQueue { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [string]$QueueId ) $endpoint = "routing/queues/$QueueId" return Invoke-GCApiRequest -Endpoint $endpoint -Method GET } |