Public/Get-GCAuditServiceMapping.ps1

<#
.SYNOPSIS
    Retrieves the audit service mapping.

.DESCRIPTION
    Returns the mapping of audit services and their available actions in Genesys Cloud.
    Uses the GET /api/v2/audits/query/servicemapping endpoint.

.EXAMPLE
    Get-GCAuditServiceMapping

.NOTES
    Genesys Cloud API: GET /api/v2/audits/query/servicemapping
#>

function Get-GCAuditServiceMapping {
    [CmdletBinding()]
    param()

    $endpoint = "audits/query/servicemapping"
    return Invoke-GCApiRequest -Endpoint $endpoint -Method GET
}