Public/Get-GCConversationParticipantWrapup.ps1
|
<# .SYNOPSIS Retrieves the wrapup for a conversation participant. .DESCRIPTION Gets the wrapup code and details for a specific participant in a conversation. Calls GET /api/v2/conversations/{conversationId}/participants/{participantId}/wrapup. .PARAMETER ConversationId The unique identifier of the conversation. .PARAMETER ParticipantId The unique identifier of the participant. .EXAMPLE Get-GCConversationParticipantWrapup -ConversationId 'conv-id' -ParticipantId 'part-id' .NOTES Genesys Cloud API: GET /api/v2/conversations/{conversationId}/participants/{participantId}/wrapup #> function Get-GCConversationParticipantWrapup { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [string]$ConversationId, [Parameter(Mandatory = $true)] [string]$ParticipantId ) $endpoint = "conversations/$ConversationId/participants/$ParticipantId/wrapup" return Invoke-GCApiRequest -Endpoint $endpoint -Method GET } |