Public/Get-GCAnalyticsReportingExports.ps1
|
<# .SYNOPSIS Retrieves analytics reporting exports. .DESCRIPTION Gets a paginated list of analytics reporting export jobs from Genesys Cloud. Calls GET /api/v2/analytics/reporting/exports. .PARAMETER PageSize The number of results per page. Defaults to 25. .PARAMETER PageNumber The page number to retrieve. Defaults to 1. .EXAMPLE Get-GCAnalyticsReportingExports .EXAMPLE Get-GCAnalyticsReportingExports -PageSize 50 -PageNumber 2 .NOTES Genesys Cloud API: GET /api/v2/analytics/reporting/exports #> function Get-GCAnalyticsReportingExports { [CmdletBinding()] param( [Parameter(Mandatory = $false)] [int]$PageSize = 25, [Parameter(Mandatory = $false)] [int]$PageNumber = 1 ) $endpoint = "analytics/reporting/exports" $queryParams = @{ pageSize = $PageSize pageNumber = $PageNumber } return Invoke-GCApiRequest -Endpoint $endpoint -Method GET -QueryParameters $queryParams } |