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