Pax8API/Public/Partner/Get-Pax8UsageSummaryById.ps1
|
<#
.SYNOPSIS Get Usage Summary By ID .DESCRIPTION Fetch a paginated list of usage summaries. Default page is 0 and default size is 10. The maximum page size is 200 OpenAPI: GET /usage-summaries/{usageSummaryId} Scope: Partner. Audience: https://api.pax8.com. .PARAMETER UsageSummaryId The usage summary id .PARAMETER Raw Returns the unmodified API response instead of unwrapping paginated content. .EXAMPLE Get-Pax8UsageSummaryById -UsageSummaryId '00000000-0000-0000-0000-000000000000' .LINK https://devx.pax8.com/openapi/partner-endpoints.json #> function Get-Pax8UsageSummaryById { [CmdletBinding()] param ( [Parameter(Mandatory = $true)] [guid]$UsageSummaryId, [switch]$Raw ) process { $boundParameters = @{} foreach ($entry in $PSBoundParameters.GetEnumerator()) { $boundParameters[$entry.Key] = $entry.Value } Invoke-Pax8ApiOperation -CommandName $MyInvocation.MyCommand.Name -Parameters $boundParameters } } |