Public/Set-GCRoutingUtilization.ps1
|
<# .SYNOPSIS Updates the routing utilization settings for the organization in Genesys Cloud. .DESCRIPTION Replaces the organization's utilization settings using a PUT request. Controls the maximum number of concurrent interactions per media type. API Endpoint: PUT /api/v2/routing/utilization .PARAMETER Body The request body containing the utilization settings. Accepts a hashtable or JSON string. .EXAMPLE Set-GCRoutingUtilization -Body @{ utilization = @{ call = @{ maximumCapacity = 1; interruptableMediaTypes = @('chat') } } } Updates the utilization settings for call media type. .NOTES Genesys Cloud API: PUT /api/v2/routing/utilization #> function Set-GCRoutingUtilization { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [object]$Body ) $endpoint = "routing/utilization" return Invoke-GCApiRequest -Endpoint $endpoint -Method PUT -Body $Body } |