Public/New-GCSpeechTextAnalyticsTopic.ps1
|
<# .SYNOPSIS Creates a new speech and text analytics topic. .DESCRIPTION Creates a new speech and text analytics topic in Genesys Cloud. Uses the POST /api/v2/speechandtextanalytics/topics endpoint. .PARAMETER Body The topic definition object. .EXAMPLE $topicBody = @{ name = 'Billing Issues'; description = 'Detect billing-related topics' } New-GCSpeechTextAnalyticsTopic -Body $topicBody .NOTES Genesys Cloud API: POST /api/v2/speechandtextanalytics/topics #> function New-GCSpeechTextAnalyticsTopic { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [object]$Body ) $endpoint = "speechandtextanalytics/topics" return Invoke-GCApiRequest -Endpoint $endpoint -Method POST -Body $Body } |