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