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