Public/Get-GCResponseManagementResponse.ps1

<#
.SYNOPSIS
    Retrieves a single response management response by ID.

.DESCRIPTION
    Returns the details of a specific response from the Genesys Cloud response management system.
    Uses the GET /api/v2/responsemanagement/responses/{responseId} endpoint.

.PARAMETER ResponseId
    The unique identifier of the response to retrieve.

.EXAMPLE
    Get-GCResponseManagementResponse -ResponseId 'a1b2c3d4-e5f6-7890-abcd-ef1234567890'

.NOTES
    Genesys Cloud API: GET /api/v2/responsemanagement/responses/{responseId}
#>

function Get-GCResponseManagementResponse {
    [CmdletBinding()]
    param(
        [Parameter(Mandatory = $true)]
        [string]$ResponseId
    )

    $endpoint = "responsemanagement/responses/$ResponseId"
    return Invoke-GCApiRequest -Endpoint $endpoint -Method GET
}